12.2 TCP Status Objects

This object has no methods, only some members holding information on the connection. A complete description of all fields in this objects can be found in the Apple documentation. The most interesting ones are:

localHost
localPort
remoteHost
remotePort
The integer IP-addresses and port numbers of both endpoints of the connection.

sendWindow
The current window size.

amtUnackedData
The number of bytes sent but not yet acknowledged. sendWindow - amtUnackedData is what you can pass to Send() without blocking.

amtUnreadData
The number of bytes received but not yet read (what you can Recv() without blocking).