aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/nw_udp.h
blob: 3fe44e0cf0ba8d7eed10d7aa36b703964a6cf131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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_