Socket_UDP

from panda3d.core import Socket_UDP
class Socket_UDP

Bases:

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: bytes) bool

Send data to connected address

SendTo(data: bytes, address: Socket_Address) bool

Send data to specified address

SetToBroadCast() bool

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

__init__()
static get_class_type() TypeHandle