• 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: Sockets documentation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sockets documentation?


  • Subject: Re: Sockets documentation?
  • From: RR <email@hidden>
  • Date: Wed, 13 Feb 2002 17:16:03 -0500

Daniel, I have also been looking at this issue. Although Cocoa does have NSFileHandle, it is only for TCP (no UDP), and does not allow you to manipulate the socket's settings.

In addition, I've been searching in vain on *.apple.com for where I'm certain I once read a statement that those wishing to do socket programming should use the BSD-layer functions.

So, having looked at this issue extensively (but qualifying that by saying I'm very new to Cocoa), it looks like the Unix level system calls are what'
s available to you here. And in that regard there is no better reference than the late Richard Stevens. His book, Unix Network Programming, is The Corpus of all things sockets on Unix.

For Obj-C classes, out at Sourceforge there is the beginnings of a sockets class, called Small Sockets, that might help you. It's at http://smallsockets.sf.net. Then of course there is Omni's OmniNetworking classes, at http://www.omnigroup.com.

Good luck,
RR


On Wednesday, February 13, 2002, at 04:49 PM, Daniel Byer wrote:

I've been trying to find some documentation on how to use sockets for TCP/
IP and/or UDP, but the only thing I did find had only the methods listed,
not any documentation. Is there somewhere I can find information on creating/using sockets in Obj-C?
_______________________________________________
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.

  • Follow-Ups:
    • Re: Sockets documentation?
      • From: Marco Scheurer <email@hidden>
    • Re: Sockets documentation?
      • From: Andreas Monitzer <email@hidden>
References: 
 >Sockets documentation? (From: Daniel Byer <email@hidden>)

  • Prev by Date: IB Bug: Add action to NSView -> nextKeyView connection refused
  • Next by Date: FontWithName Re: How to change default font for NSTextView?
  • Previous by thread: Sockets documentation?
  • Next by thread: Re: Sockets documentation?
  • Index(es):
    • Date
    • Thread