Re: Socket Connections
Re: Socket Connections
- Subject: Re: Socket Connections
- From: Graham Wihlidal <email@hidden>
- Date: Mon, 29 Apr 2002 07:22:05 -0600
CFSocket actually, but close enough :)
It is basically only really useful for asynchronously event based
polling for data, etc..
I consider it a layered enhancement to BSD sockets ;)
Just contributing my 2 cents!
~Graham
On Monday, April 29, 2002, at 12:15 AM, Jens Bauer wrote:
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.
_______________________________________________
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.