Re: Socket Connections
Re: Socket Connections
- Subject: Re: Socket Connections
- From: Jens Bauer <email@hidden>
- Date: Mon, 29 Apr 2002 08:15:02 +0200
Hi Nathan,
On Mon, 29 Apr, 2002, Nathan Zamecnik <email@hidden> wrote:
>
Hello, I'm new to this list so sorry if this was just covered....although my
>
searches indicate it has not. My question is does anyone have a good
>
resource on the net or have information on socket programming in Cocoa.
>
Basically, I want to know how to initilize a new socket to listen and allow
>
other sockets to connect to it and send it a simple message, such as a
>
string. Does each new socket have to be put into a new thread to allow
>
multiple connections? Any information on setting up sockets would be great,
>
thanx.
I would suggest that you subscribe to MacNetworkProgramming.
There are many possibilities for dealing with sockets on Mac OS X.
You can use a framework (SmallSockets for instance, try Google or
VersionTracker),
Open Transport (which you won't be interested in), BSD sockets API (as
you know it from Linux and Unix),
and I think Apple made a framework as well, I think NSSocket rings a bell..
SmallSockets can be downloaded from:
<
http://smallsockets.sourceforge.net/>
Love,
Jens
--
Jens Bauer, Faster Software.
-Let's make the World better, shall we ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.