Yurttas/PL/SL/python/docs/core-python-programming/doc/20/mac/node42.html
Jump to navigation
Jump to search
2.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 - amtUnackedDatais what you can pass to Send() without blocking.
- amtUnreadData
- The number of bytes received but not yet read (what you can Recv() without blocking).
See About this document... for information on suggesting changes.