21 struct ThisPtrPlusSysAddr {
34 ThisPtrPlusSysAddr& operator=(ThisPtrPlusSysAddr
const&);
35 ThisPtrPlusSysAddr(ThisPtrPlusSysAddr
const&);
70 TCPInterface& operator=(TCPInterface
const&);
71 TCPInterface(TCPInterface
const&);
76 virtual ~TCPInterface();
80 virtual bool SendList(
83 int const numParameters,
88 virtual bool ReceiveHasPackets();
90 virtual ::RakNet::Packet* Receive();
100 MCAPI ::RakNet::SystemAddress
101 Connect(
char const* host, ushort remotePort,
bool block, ushort socketFamily,
char const* bindAddress);
103 MCAPI
bool CreateListenSocket(ushort port, ushort maxIncomingConnections, ushort socketFamily,
char const*);
107 MCAPI ushort GetConnectionCount()
const;
113 MCAPI ::RakNet::SystemAddress HasCompletedConnectionAttempt();
115 MCAPI ::RakNet::SystemAddress HasFailedConnectionAttempt();
117 MCAPI ::RakNet::SystemAddress HasLostConnection();
119 MCAPI ::RakNet::Packet* ReceiveInt();
121 MCAPI uint64 SocketConnect(
char const* host, ushort remotePort, ushort socketFamily,
char const*);
125 ushort maxIncomingConnections,
126 ushort maxConnections,
129 char const* bindAddress
134 MCAPI TCPInterface();
136 MCAPI
bool WasStarted()
const;
138 MCAPI
bool _appendToBlockingSocketList(uint64
const& s);
158 MCAPI
bool $SendList(
161 int const numParameters,
166 MCAPI
bool $ReceiveHasPackets();
168 MCAPI ::RakNet::Packet* $Receive();