Wiz820io connection fail

Status
Not open for further replies.

muggins

Well-known member
Hi
I have Teensy 3.2 and Wiznet820io setup as a server with a client sending commands via TCP. On occasions this connection has broken down. Is there any way the server can detect this disconnection and perhaps reboot?
thanks
John
 
Try calling Ethernet.maintain() in your main loop (at least: if you are using DHCP). If the connection is broken it should return a fail code.
 
Status
Not open for further replies.
Back
Top