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

bool InitToAddress(Socket_Address const &address)

use this interface for a tagreted UDP connection

Connects the socket to a Specified address

bool Send(std::string const &data)

Send data to connected address

bool SendTo(std::string const &data, Socket_Address const &address)

Send data to specified address

bool SetToBroadCast(void)

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

Socket_UDP(void)
static TypeHandle get_class_type(void)