IPv6 support: fixed IP string getting on accept()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -77,8 +77,11 @@ public:
|
||||
/// Sets the socket to listen for incoming connections. Returns true if successful.
|
||||
bool Listen(int a_Backlog = DEFAULT_BACKLOG);
|
||||
|
||||
/// Accepts an incoming connection. Blocks if none available.
|
||||
cSocket Accept();
|
||||
/// Accepts an IPv4 incoming connection. Blocks if none available.
|
||||
cSocket AcceptIPv4(void);
|
||||
|
||||
/// Accepts an IPv6 incoming connection. Blocks if none available.
|
||||
cSocket AcceptIPv6(void);
|
||||
|
||||
/// Connects to a localhost socket on the specified port using IPv4; returns true if successful.
|
||||
bool ConnectToLocalhostIPv4(unsigned short a_Port);
|
||||
|
||||
Reference in New Issue
Block a user