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 ...
-
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.
-
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.
-
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/
-
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.
-
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
Similar Threads
-
By Application Development in forum DOTNET
Replies: 1
Last Post: 12-14-2007, 04:53 PM
-
By Application Development in forum Python
Replies: 4
Last Post: 08-16-2007, 11:46 AM
-
By Application Development in forum awk
Replies: 2
Last Post: 07-09-2007, 05:34 PM
-
By Application Development in forum Java
Replies: 12
Last Post: 07-02-2007, 06:28 PM
-
By Application Development in forum Java
Replies: 0
Last Post: 11-17-2003, 06:59 AM