From 411a834cd5861aa8af289918d00c33f4ffcab622 Mon Sep 17 00:00:00 2001 From: follower Date: Sat, 22 Dec 2007 15:57:17 +0000 Subject: [PATCH] Switch our test code back to the non-class style for temporary development purposes. git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@128 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b --- branches/follower/wiz810mj/src/demo/WizDemo5/WizDemo5.pde | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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");