• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ClientContextStruct.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 #ifndef __CLIENT_CONTEXT_STRUCT_H
00010 #define __CLIENT_CONTEXT_STRUCT_H
00011 
00012 #if defined(_XBOX) || defined(X360)
00013 #elif defined(_WIN32)
00014 //#include "WindowsIncludes.h"
00015 #endif
00016 #include "RakNetTypes.h"
00017 #include "MTUSize.h"
00018 
00019 class RakPeer;
00020 
00021 #ifdef __USE_IO_COMPLETION_PORTS
00022 
00023 struct ClientContextStruct
00024 {
00025         HANDLE handle; // The socket, also used as a file handle
00026 };
00027 
00028 struct ExtendedOverlappedStruct
00029 {
00030         OVERLAPPED overlapped;
00031         char data[ MAXIMUM_MTU_SIZE ]; // Used to hold data to send
00032         int length; // Length of the actual data to send, always under MAXIMUM_MTU_SIZE
00033         unsigned int binaryAddress;
00034         unsigned short port;
00035         RakPeer *rakPeer;
00036         bool read; // Set to true for reads, false for writes
00037 };
00038 
00039 #endif
00040 
00041 #endif

Generated on Thu Sep 30 2010 01:27:21 for RakNet by  doxygen 1.7.1