Added DataAvailable method in TcpClient which will return the number of bytes available in the stream
Config functions are now inline NetworkMessage and NetworkBuffer are being reworked
This commit is contained in:
@ -34,7 +34,12 @@ public:
|
||||
|
||||
bool Connect();
|
||||
|
||||
bool DataAvailable(uint16 &size);
|
||||
|
||||
//this method will receive the messages automaticaly and use the callback methods
|
||||
void ReceiveMessages();
|
||||
|
||||
//this is a more manual method with no callbacks
|
||||
const NetworkMessage &ReceiveMessage();
|
||||
void SendMessage(const NetworkMessage &message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user