next up previous contents index
Next: 15.10.3 UDP Stream Objects Up: 15.10 Built-in Module mactcp Previous: 15.10.1 TCP Stream Objects

15.10.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).



guido@cnri.reston.va.us