Socket_UDP

from panda3d.net 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()

C++ Interface: InitToAddress(const Socket_UDP self, const Socket_Address address)

// use this interface for a tagreted UDP connection

/**
  • Connects the socket to a Specified address

*/

Send()

C++ Interface: Send(const Socket_UDP self, bytes data)

/**
  • Send data to connected address

*/

/**
  • Send data to connected address

*/

SendTo()

C++ Interface: SendTo(const Socket_UDP self, bytes data, const Socket_Address address)

/**
  • Send data to specified address

*/

/**
  • Send data to specified address

*/

SetToBroadCast()

C++ Interface: SetToBroadCast(const Socket_UDP self)

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

*/

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

get_class_type()

C++ Interface: get_class_type()