aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/nw_udp.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/nw_udp.h
downloadopenparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz
openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip
initial importHEADmain
Diffstat (limited to 'src/parsec/include/nw_udp.h')
-rw-r--r--src/parsec/include/nw_udp.h27
1 files changed, 27 insertions, 0 deletions
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_
+
+