Initializes the receiver as a local TCP/IP socket of type SOCK_STREAM, listening on a specified port number.
Original signature is '- (id)initWithTCPPort:(unsigned short)port'
Available in Mac OS X v10.0 and later.


- port (UInt16)
- The port number for the newly created socket port to listen on. If port is 0, the system will assign a port number.

An initialized local TCP/IP socket of type SOCK_STREAM, listening on port port.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)