Obtaining port from NSSocketPort
Obtaining port from NSSocketPort
- Subject: Obtaining port from NSSocketPort
- From: Charles Françoise <email@hidden>
- Date: Fri, 15 Oct 2004 18:59:45 +0300
I created a NSSocketPort using :
mySocketPort = [[NSSocketPort alloc] initWithTCPPort:0];
this is supposed to use an arbitrary port. The problem is, I don't know how to obtain the port that has been open.
[mySocketPort address] returns a NSData object but I don't know what to do with it.
Help anyone ?
_______________________________________________
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