From c89615a4a34f71bdedff1e35b2f50b43f7fda58f Mon Sep 17 00:00:00 2001 From: follower Date: Tue, 11 Dec 2007 11:02:48 +0000 Subject: [PATCH] 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 --- branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde | 1 + 1 file changed, 1 insertion(+) diff --git a/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde b/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde index cdf90cb..cbc54b1 100644 --- a/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde +++ b/branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde @@ -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) {