This repository has been archived on 2026-04-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
original-mcpe-0.6.1/handheld/project/lib_projects/raknet/jni/RaknetSources/RakNetSocket.h
2026-04-01 23:13:15 +02:00

39 lines
680 B
C++

#ifndef __RAKNET_SOCKET_H
#define __RAKNET_SOCKET_H
#include "RakNetTypes.h"
#include "RakNetDefines.h"
#include "Export.h"
namespace RakNet
{
struct RAK_DLL_EXPORT RakNetSocket
{
RakNetSocket();
~RakNetSocket();
// SocketIncludes.h includes Windows.h, which messes up a lot of compiles
// SOCKET s;
unsigned int s;
unsigned int userConnectionSocketIndex;
SystemAddress boundAddress;
unsigned short socketFamily;
#if defined (_WIN32) && defined(USE_WAIT_FOR_MULTIPLE_EVENTS)
void* recvEvent;
#endif
unsigned short remotePortRakNetWasStartedOn_PS3_PSP2;
unsigned int extraSocketOptions;
};
} // namespace RakNet
#endif