From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- src/parsec/include/nw_udp.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/parsec/include/nw_udp.h (limited to 'src/parsec/include/nw_udp.h') diff --git a/src/parsec/include/nw_udp.h b/src/parsec/include/nw_udp.h new file mode 100644 index 0000000..3fe44e0 --- /dev/null +++ b/src/parsec/include/nw_udp.h @@ -0,0 +1,27 @@ +/* + * PARSEC HEADER: nw_udp.h + */ + +#ifndef _NW_UDP_H_ +#define _NW_UDP_H_ + + +// nw_udp.c implements the following UDP platform specific functions +// ----------------------------------------------------------------- +// int UDPs_GetLocalIP(); +// void UDPs_GetLocalBroadcast(); +// int UDPs_InitOSNetAPI(); +// void UDPs_KillOSNetAPI(); + + +// link winsock library +#ifdef NEED_WINSOCK2 + #pragma comment( lib, "ws2_32" ) +#else + #pragma comment( lib, "wsock32" ) +#endif + + +#endif // _NW_UDP_H_ + + -- cgit v1.2.3