panda3d.core.Socket_UDP_Incoming

class Socket_UDP_Incoming

Bases: Socket_IP

Base functionality for a UDP Reader

Inheritance diagram

Inheritance diagram of Socket_UDP_Incoming

InitNoAddress() → bool

Set this socket to work without a bound external address.

OpenForInput(address: Socket_Address) → bool

Starts a UDP socket listening on a port

OpenForInput(port: int) → bool

Starts a UDP socket listening on a port

OpenForInputMCast(address: Socket_Address) → bool

Starts a UDP socket listening on a port

SendTo(data: str, len: int, address: Socket_Address) → bool

Send data to specified address

SetToBroadCast() → bool

Flips the OS bits that allow for brodcast packets to come in on this port.

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

TypeHandle