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

AddAddress(inadr: Socket_Address) → None

must be called to set value to the server

AddressQueueSize() → size_t

address queue stuff

Return type


ClearAddresses() → None
DoConnect() → bool

all the real state magic is in here

Flush() → bool

Flush all writes.

GetMessage(val: Datagram) → bool

Reads a message. Returns false on failure.

IsConnected() → bool

all the real state magic is in here

Reset() → None


SendMessage(msg: Datagram) → bool

the reason thsi all exists

WaitForNetworkReadEvent(MaxTime: float) → None
__init__(rbufsize: int, wbufsize: int, write_flush_point: int) → None
static getClassType() → TypeHandle
Return type