1 #ifndef __RAKNET_SOCKET_H
2 #define __RAKNET_SOCKET_H
3 
4 #include "RakNetTypes.h"
5 #include "RakNetDefines.h"
6 #include "Export.h"
7 // #include "SocketIncludes.h"
8 
9 struct RAK_DLL_EXPORT RakNetSocket
10 {
11 	RakNetSocket();
12 	~RakNetSocket();
13 	// SocketIncludes.h includes Windows.h, which messes up a lot of compiles
14 	// SOCKET s;
15 	unsigned int s;
16 	unsigned int userConnectionSocketIndex;
17 	SystemAddress boundAddress;
18 #if defined (_WIN32) && defined(USE_WAIT_FOR_MULTIPLE_EVENTS)
19 	void* recvEvent;
20 #endif
21 	// Only need to set for the PS3, when using signaling.
22 	// Connect with the port returned by signaling. Set this to whatever port RakNet was actually started on
23 	unsigned short remotePortRakNetWasStartedOn_PS3;
24 
25 };
26 
27 #endif
28