--- trunk/PIC/Demo trimmet/network.c 2007/05/28 08:26:29 106 +++ trunk/PIC/Demo trimmet/network.c 2007/05/28 08:31:24 107 @@ -3,7 +3,6 @@ #include "dhcp.h" #include "tick.h" #include "delay.h" -#include "udp.h" #include "arp.h" #include "arptsk.h" #include "tcp.h" @@ -359,6 +358,7 @@ } network_worker(); } + if( TCPIsConnected(tsock1)) return 3; // Didn't close the socket properly; else