class Buffered_DatagramConnection

Bases: Socket_TCP

there are 3 states 1. Socket not even assigned,,,, 2. Socket Assigned and trying to get a active connect open 3. Socket is open and writable.. ( Fully powered up )…

Inheritance diagram

Inheritance diagram of Buffered_DatagramConnection

__init__(rbufsize: int, wbufsize: int, write_flush_point: int) → None
GetMessage(val: Datagram) → bool

Reads a message. Returns false on failure.

DoConnect() → bool

all the real state magic is in here

IsConnected() → bool

all the real state magic is in here

SendMessage(msg: Datagram) → bool

the reason thsi all exists

Flush() → bool

Flush all writes.

Reset() → None


WaitForNetworkReadEvent(MaxTime: float) → None
AddressQueueSize() → size_t

address queue stuff

Return type


AddAddress(inadr: Socket_Address) → None

must be called to set value to the server

ClearAddresses() → None
static getClassType() → TypeHandle
Return type