from panda3d.core import Socket_UDP
class Socket_UDP


Bases: Socket_UDP_Incoming

Base functionality for a combination UDP Reader and Writer. This duplicates code from Socket_UDP_Outgoing, to avoid the problems of multiple inheritance.

Inheritance diagram

Inheritance diagram of Socket_UDP

InitToAddress(address: Socket_Address) bool

Connects the socket to a Specified address

Send(data: str) bool

Send data to connected address

SendTo(data: str, address: Socket_Address) bool

Send data to specified address

SetToBroadCast() bool

Ask the OS to let us receive broadcast packets on this port.

static getClassType() TypeHandle