7# include <sys/socket.h>
8# if !defined(_BSD_SOCKLEN_T_) && !defined(_SOCKLEN_T)
Handles cross-platform sockets compatibility.
bool sendMessage(resip::Socket fd, char *msg, int len, unsigned int dstIp, unsigned short dstPort, bool verbose)
send a UDP message
resip::Socket openPort(unsigned short port, unsigned int interfaceIp, bool verbose)
Open a UDP socket to receive on the given port - if port is 0, pick a a port, if interfaceIp!...
bool getMessage(resip::Socket fd, char *buf, int *len, uint32_t *srcIp, unsigned short *srcPort, bool verbose)
recive a UDP message