Skip navigation.
 
mlObtaining port from NSSocketPort
FROM : Charles Françoise
DATE : Fri Oct 15 17:59:45 2004

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 ?

Related mailsAuthorDate
mlObtaining port from NSSocketPort Charles Françoise Oct 15, 17:59
mlRe: Obtaining port from NSSocketPort Dustin Voss Oct 15, 21:18