diff --git a/branches/follower/wiz810mj/src/demo/WizDemo5/WizDemo5.pde b/branches/follower/wiz810mj/src/demo/WizDemo5/WizDemo5.pde index 2775b54..c5b8d2f 100644 --- a/branches/follower/wiz810mj/src/demo/WizDemo5/WizDemo5.pde +++ b/branches/follower/wiz810mj/src/demo/WizDemo5/WizDemo5.pde @@ -513,7 +513,7 @@ void setup () { /**/ Serial.println("Test sockets..."); -#if 0 +#if NetworkConnection conn = Network.listen(7); Serial.println("Waiting for connection..."); @@ -535,7 +535,7 @@ void setup () { Serial.println(""); conn.close(); -#endif +#else // This uses the 1-argument constructor of EchoServer and supplies it with 7 for each instance. EchoServer servers[MAX_SOCK_NUM] = {7, 7, 7, 7}; // This will break if MAX_SOCK_NUM changes. @@ -545,6 +545,7 @@ void setup () { servers[i].next(); } } +#endif Serial.println("End test and dummy loop");