Re: Sending ASCII Messages to a TCP Socket
Re: Sending ASCII Messages to a TCP Socket
- Subject: Re: Sending ASCII Messages to a TCP Socket
- From: Dustin Voss <email@hidden>
- Date: Sun, 15 Oct 2006 23:20:53 -0700
On 15 Oct 2006, at 3:13 PM, Shawn Erickson wrote:
On Oct 15, 2006, at 3:08 PM, Ben Barry wrote:
Hi,
I was just wondering what the easiest way would be to send an
ASCII string to a device that requires a TCP connection would be.
I am fairly new to Cocoa as well as network programming so any
advice would be appreciated.
Look at NSSocketPort and its parent class NSPort.
-Shawn
Isn't NSSocketPort and NSPort for Distributed Objects? Perhaps Ben
Barry should look at NSStream instead.
file:///Developer/ADC Reference Library/documentation/Cocoa/
Reference/Foundation/Classes/NSStream_Class/Reference/
Reference.html#//apple_ref/occ/clm/NSStream/
getStreamsToHost:port:inputStream:outputStream:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden