3#include "mc/_HeaderOutputPredefine.h"
7namespace RakNet {
struct Packet; }
21 struct ThisPtrPlusSysAddr {
34 ThisPtrPlusSysAddr& operator=(ThisPtrPlusSysAddr
const&);
35 ThisPtrPlusSysAddr(ThisPtrPlusSysAddr
const&);
70 TCPInterface& operator=(TCPInterface
const&);
76 virtual ~TCPInterface() =
default;
80 virtual bool SendList(
83 int const numParameters,
88 virtual bool ReceiveHasPackets();
90 virtual ::RakNet::Packet* Receive();
100 MCNAPI ::RakNet::SystemAddress
101 Connect(
char const* host, ushort remotePort,
bool block, ushort socketFamily,
char const* bindAddress);
104 CreateListenSocket(ushort port, ushort maxIncomingConnections, ushort socketFamily,
char const* bindAddress);
116 MCNAPI uint64
SocketConnect(
char const* host, ushort remotePort, ushort socketFamily,
char const* bindAddress);
120 ushort maxIncomingConnections,
121 ushort maxConnections,
124 char const* bindAddress
146 int const numParameters,
MCAPI void $Send(char const *data, uint length, ::RakNet::SystemAddress const &systemAddress, bool broadcast)
MCAPI void CloseConnection(::RakNet::SystemAddress systemAddress)
MCAPI bool Start(ushort port, ushort maxIncomingConnections, ushort maxConnections, int _threadPriority, ushort socketFamily, char const *bindAddress)
MCAPI bool CreateListenSocket(ushort port, ushort maxIncomingConnections, ushort socketFamily, char const *bindAddress)
MCAPI void $PushBackPacket(::RakNet::Packet *packet, bool pushAtHead)
MCAPI void DeallocatePacket(::RakNet::Packet *packet)
MCAPI uint GetOutgoingDataBufferSize(::RakNet::SystemAddress systemAddress) const
MCAPI::RakNet::SystemAddress HasLostConnection()
MCAPI bool $ReceiveHasPackets()
MCAPI bool $SendList(char const **data, uint const *lengths, int const numParameters, ::RakNet::SystemAddress const &systemAddress, bool broadcast)
MCAPI::RakNet::SystemAddress HasCompletedConnectionAttempt()
MCAPI uint64 SocketConnect(char const *host, ushort remotePort, ushort socketFamily, char const *bindAddress)
MCAPI::RakNet::Packet * $Receive()
MCAPI::RakNet::SystemAddress Connect(char const *host, ushort remotePort, bool block, ushort socketFamily, char const *bindAddress)
MCAPI::RakNet::SystemAddress HasFailedConnectionAttempt()
Definition SystemAddress.h:7
Definition TCPInterface.h:21