socket connection - C

This is a discussion on socket connection - C ; I am working on a little cocoa app that needs to make a stream socket connection and read and write to the socket. I am currently using bsd style sockets because I can't find a good example that uses the ...

+ Reply to Thread
Results 1 to 5 of 5

socket connection

  1. Default socket connection


    I am working on a little cocoa app that needs to make a stream socket
    connection and read and write to the socket. I am currently using bsd
    style sockets because I can't find a good example that uses the cocoa
    classes so I can figure out how to do it. If someone could send me an
    example or point me to one of how to make a socket connection and read
    and write to it I would be very grateful to them.



  2. Default Re: socket connection

    Matthew Hinton <matthew@myverbaloutlet.net> wrote in message news:<2004072619424674260%matthew@myverbaloutletnet>...
    > I am working on a little cocoa app that needs to make a stream socket
    > connection and read and write to the socket. I am currently using bsd
    > style sockets because I can't find a good example that uses the cocoa
    > classes so I can figure out how to do it. If someone could send me an
    > example or point me to one of how to make a socket connection and read
    > and write to it I would be very grateful to them.


    This may be a silly response ( sorry if so ), but can you not continue
    to use the same function calls you do already, and wrap them in
    objective c classes? That way you can reuse your existing code.

  3. Default Re: socket connection

    In <2004072619424674260%matthew@myverbaloutletnet> Matthew Hinton wrote:
    >
    > I am working on a little cocoa app that needs to make a stream socket
    > connection and read and write to the socket. I am currently using bsd
    > style sockets because I can't find a good example that uses the cocoa
    > classes so I can figure out how to do it. If someone could send me an
    > example or point me to one of how to make a socket connection and read
    > and write to it I would be very grateful to them.
    >
    >
    >


    Try : http://smallsockets.sourceforge.net/

  4. Default Re: socket connection

    On 2004-07-27 12:24:37 -0500, ls <ls@nospam.com> said:

    > In <2004072619424674260%matthew@myverbaloutletnet> Matthew Hinton wrote:
    >>
    >> I am working on a little cocoa app that needs to make a stream socket
    >> connection and read and write to the socket. I am currently using bsd
    >> style sockets because I can't find a good example that uses the cocoa
    >> classes so I can figure out how to do it. If someone could send me an
    >> example or point me to one of how to make a socket connection and read
    >> and write to it I would be very grateful to them.
    >>
    >>
    >>

    >
    > Try : http://smallsockets.sourceforge.net/


    Thanks I will check that out.


  5. Default Re: socket connection

    Matthew Hinton wrote:

    >
    > I am working on a little cocoa app that needs to make a stream socket
    > connection and read and write to the socket. I am currently using bsd
    > style sockets because I can't find a good example that uses the cocoa
    > classes so I can figure out how to do it. If someone could send me an
    > example or point me to one of how to make a socket connection and read
    > and write to it I would be very grateful to them.



    I found the socket classes in the EDCommon Framework
    quite usefull (http://www.mulle-kybernetik.com/software/EDFrameworks/).

    Chris

+ Reply to Thread

Similar Threads

  1. Socket Connection from ASP.NET Page
    By Application Development in forum DOTNET
    Replies: 1
    Last Post: 12-14-2007, 04:53 PM
  2. Layer 2 socket connection
    By Application Development in forum Python
    Replies: 4
    Last Post: 08-16-2007, 11:46 AM
  3. socket connection
    By Application Development in forum awk
    Replies: 2
    Last Post: 07-09-2007, 05:34 PM
  4. Replies: 12
    Last Post: 07-02-2007, 06:28 PM
  5. Socket Connection Problem in DSL connection
    By Application Development in forum Java
    Replies: 0
    Last Post: 11-17-2003, 06:59 AM