Added Connection Codes
Private methods dont have capital letters and are words are separated by underscores Added id's to TcpClient's class Removed ptr from TcpClient and Server Worked on TcpServer Theres now a default server port Added ReceiveMessage function to TcpClient to receive only 1 message Fixed VoidNetClientAPI Receive function
This commit is contained in:
@ -167,7 +167,8 @@ typedef unsigned long long uint64;
|
||||
|
||||
#endif // compiler data type defenitions
|
||||
|
||||
const uint16 default_port = 60250;
|
||||
const uint16 default_client_port = 60250;
|
||||
const uint16 default_server_port = 61250;
|
||||
|
||||
enum DistributionType
|
||||
{
|
||||
@ -178,4 +179,10 @@ enum DistributionType
|
||||
ID,
|
||||
};
|
||||
|
||||
enum ConnectionCode
|
||||
{
|
||||
Accept = 0,
|
||||
Reject
|
||||
};
|
||||
|
||||
#endif // DEFS_HPP
|
||||
Reference in New Issue
Block a user