lhnetaddress_loop_t;
#define LHNETADDRESSTYPE_INET4_FAMILY 2
+#ifdef WIN32
+#define LHNETADDRESSTYPE_INET6_FAMILY 23
+#else
#define LHNETADDRESSTYPE_INET6_FAMILY 10
+#endif
// compatible with sockaddr_in
typedef struct lhnetaddress_inet4_s
void LHNET_Init(void);
void LHNET_Shutdown(void);
+void LHNET_SleepUntilPacket_Microseconds(int microseconds);
lhnetsocket_t *LHNET_OpenSocket_Connectionless(lhnetaddress_t *address);
void LHNET_CloseSocket(lhnetsocket_t *lhnetsocket);
lhnetaddress_t *LHNET_AddressFromSocket(lhnetsocket_t *sock);