SocketStream
from panda3d.core import SocketStream
- class SocketStream
Bases:
Bases:
iostream
,SSReader
,SSWriter
A base class for iostreams that read and write to a (possibly non-blocking) socket.
Inheritance diagram
- close()
- flush() bool
Sends the most recently queued data now. This only has meaning if
set_collect_tcp()
has been set to true.
- get_tcp_header_size() int
Returns the header size for datagrams. See
set_tcp_header_size()
.