• 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
NSNetService, IP address and port number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSNetService, IP address and port number


  • Subject: NSNetService, IP address and port number
  • From: kubernan <email@hidden>
  • Date: Thu, 16 Jan 2003 22:16:28 +0100

Hello,

I want to use RendezVous and i try to catch
IP address and port number inside this method :

- (void) netServiceBrowser: (NSNetServiceBrowser *) aNetServiceBrowser didFindService: (NSNetService *) aNetService moreComing: (BOOL) moreComing

I think i have to use something like [aNetService adresses] and read the returned array,
but i don't know how to use the NSData item of the array with the sockaddr structure
for reading the ip address and port number.

Can you help me ?

Thx a lot,
K.
_______________________________________________
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: NSNetService, IP address and port number
      • From: Chris Hanson <email@hidden>
    • Re: NSNetService, IP address and port number
      • From: Axel Andersson <email@hidden>
    • Re: NSNetService, IP address and port number
      • From: Chris Parker <email@hidden>
    • Re: NSNetService, IP address and port number
      • From: j o a r <email@hidden>
  • Prev by Date: Re: FSRef -> NSString
  • Next by Date: Safari bookmark bar
  • Previous by thread: BDAlias 1.0.1
  • Next by thread: Re: NSNetService, IP address and port number
  • Index(es):
    • Date
    • Thread