Skip navigation.
 
mlNSNetService, IP address and port number
FROM : kubernan
DATE : Thu Jan 16 22:16:28 2003

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSNetService, IP address and port number kubernan Jan 16, 22:16
mlRe: NSNetService, IP address and port number j o a r Jan 16, 23:12
mlRe: NSNetService, IP address and port number Chris Parker Jan 16, 23:25
mlRe: NSNetService, IP address and port number Axel Andersson Jan 16, 23:37
mlRe: NSNetService, IP address and port number Chris Hanson Jan 16, 23:49
mlRe: NSNetService, IP address and port number j o a r Jan 17, 00:49