8 #include <sys/socket.h> 14 #pragma comment(lib,"ws2_32.lib") 29 bool init(
int port, std::string localInterface);
35 int receive(
void *data,
unsigned int dataSize,
int timeoutMicroSec);
52 #endif // UDPRECEIVER_H int receive(void *data, unsigned int dataSize, int timeoutMicroSec)
bool init(int port, std::string localInterface)
struct sockaddr_in siOther_