Re: Cocoa, Applet, Networking
Re: Cocoa, Applet, Networking
- Subject: Re: Cocoa, Applet, Networking
- From: "Alastair J.Houghton" <email@hidden>
- Date: Mon, 18 Aug 2003 18:43:30 +0100
On Monday, August 18, 2003, at 06:17 pm, Matis Schotte wrote:
i have written an applet in java that uses sockets, and now i will
write a cocoa application to comunicate with the applet over a remote
network ...
what must i do? exists sockets in cocoa?
You can use the standard BSD sockets calls, which you will find
documented in the relevant man pages (e.g. enter "man socket" in a
Terminal window) as well as in any good book on TCP/IP.
You can also use an NSFileHandle with a socket obtained from socket(),
connect() or accept(), via NSFileHandle's -initWithFileDescriptor:.
Kind regards,
Alastair.
_______________________________________________
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.