Store maximum number of sockets available to us. Note: We don't use this currently as we hardcode to always use socket number 0--which means things will break if someone tries to create more than one socket. TODO: Fix this, obviously... :-)

git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@106 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
master
follower 17 years ago
parent 5e153c539e
commit c89615a4a3

@ -232,6 +232,7 @@ class NetworkConnection { // Essentially a Socket wrapper
private:
SOCKET _socket;
static const int _MAX_SOCKETS = MAX_SOCK_NUM; // TODO: Use this.
};
NetworkConnection::NetworkConnection(uint16_t port) {

Loading…
Cancel
Save