Socket_UDP_Incoming

class Socket_UDP_Incoming

Bases: Socket_IP

Base functionality for a UDP Reader

Inheritance diagram

Inheritance diagram of Socket_UDP_Incoming

bool GetPacket(char *data, int *max_len, Socket_Address &address)

Grabs a dataset off the listening UDP socket and fills in the source address information

bool InitNoAddress(void)

Set this socket to work without a bound external address.

bool OpenForInput(unsigned short int port)
bool OpenForInput(Socket_Address const &address)

Starts a UDP socket listening on a port

bool OpenForInputMCast(Socket_Address const &address)

Starts a UDP socket listening on a port

bool SendTo(char const *data, int len, Socket_Address const &address)

Send data to specified address

bool SetToBroadCast(void)

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

Socket_UDP_Incoming(void)
static TypeHandle get_class_type(void)