• 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
TCPServer Example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TCPServer Example


  • Subject: TCPServer Example
  • From: Development <email@hidden>
  • Date: Mon, 4 May 2009 13:58:51 -0700

I'm using parts of the TCPServer example code from apple. It's fairly straight forward code however I have a problem.

in the method:- (void)handleNewConnectionFromAddress:(NSData *)addr inputStream:(NSInputStream *)istr outputStream:(NSOutputStream *)ostr

I have the availability of the address of the connector in NSData format. What I cannot seem to figure out is how to gleen the actual address of the connecting peer from the NSData.

Thanks

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: TCPServer Example
      • From: Chris Suter <email@hidden>
  • Prev by Date: Does Cocoa layer translate Objective-C objects to C++?
  • Next by Date: Best way to save a CIImage to disk
  • Previous by thread: Re: Does Cocoa layer translate Objective-C objects to C++?
  • Next by thread: Re: TCPServer Example
  • Index(es):
    • Date
    • Thread