DDraceNetwork Docs
|
Functions | |
int | net_udp_send (NETSOCKET sock, const NETADDR *addr, const void *data, int size) |
int | net_udp_close (NETSOCKET sock) |
int net_udp_close | ( | NETSOCKET | sock | ) |
Closes an UDP socket.
sock | Socket to close. |
Sends a packet over an UDP socket.
sock | Socket to use. |
addr | Where to send the packet. |
data | Pointer to the packet data to send. |
size | Size of the packet. |