37 #include <arpa/inet.h> 41 #pragma comment(lib, "Ws2_32.lib") int freenect_network_init(callback cb)
void freenect_network_wait()
int freenect_network_sendMessage(int first, int second, unsigned char *data, int len)
int freenect_network_initSocket(struct sockaddr_in si_type, int conf_port, int *the_socket)
typedef void(ONI_CALLBACK_TYPE *DeviceConnectedCallback)(const OniDeviceInfo *
void freenect_network_read(char *buff, int *len)
void freenect_network_close()