• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa, Applet, Networking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Cocoa, Applet, Networking (From: Matis Schotte <email@hidden>)

  • Prev by Date: Re: Using Distributed Objects in an Internet-Game
  • Next by Date: Get notified when the frontmost app changes
  • Previous by thread: Cocoa, Applet, Networking
  • Next by thread: Webkit question
  • Index(es):
    • Date
    • Thread