aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/nw_udp.h
diff options
context:
space:
mode:
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_
+
+