|
Panda3D
|
A base class for iostreams that read and write to a (possibly non-blocking) socket. More...
Public Member Functions | |
| close () | |
| bool | flush () |
| Sends the most recently queued data now. | |
| int | getTcpHeaderSize () |
| Returns the header size for datagrams. | |
| bool | isClosed () |
| setTcpHeaderSize (int tcp_header_size) | |
| Sets the header size for datagrams. | |
A base class for iostreams that read and write to a (possibly non-blocking) socket.
| close | ( | ) |
Reimplemented from SSReader.
| bool flush | ( | ) |
Sends the most recently queued data now.
This only has meaning if set_collect_tcp() has been set to true.
Reimplemented from iostream.
| int getTcpHeaderSize | ( | ) |
| bool isClosed | ( | ) |
Reimplemented from SSReader.
| setTcpHeaderSize | ( | int | tcp_header_size | ) |
Sets the header size for datagrams.
At the present, legal values for this are 0, 2, or 4; this specifies the number of bytes to use encode the datagram length at the start of each TCP datagram. Sender and receiver must independently agree on this.
Reimplemented from SSReader.
1.7.3