• 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: Sending ASCII Messages to a TCP Socket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending ASCII Messages to a TCP Socket


  • Subject: Re: Sending ASCII Messages to a TCP Socket
  • From: Ben Barry <email@hidden>
  • Date: Sun, 15 Oct 2006 17:27:01 -0500

Shawn,
it looks as if it might work. But forgive my ignorance here, when I ask how do I use it? How do I tell it the IP address of the device ? Sorry, like I said this is all new to me.


Ben


On Oct 15, 2006, at 5: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

_______________________________________________ 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
References: 
 >Sending ASCII Messages to a TCP Socket (From: Ben Barry <email@hidden>)
 >Re: Sending ASCII Messages to a TCP Socket (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Sending ASCII Messages to a TCP Socket
  • Next by Date: Re: Re: Where to find free EULA Templates?
  • Previous by thread: Re: Sending ASCII Messages to a TCP Socket
  • Next by thread: Re: Sending ASCII Messages to a TCP Socket
  • Index(es):
    • Date
    • Thread