Author Topic: WiFi drops connection almost immediately on inactivity  (Read 3247 times)

dlmorgan999

  • Newbie
  • *
  • Posts: 15
WiFi drops connection almost immediately on inactivity
« on: October 25, 2014, 02:05:56 pm »
I'm just starting to play around with the WiFi functionality.  As part of my testing, I uploaded the ChatServer example sketch (with no modifications).  It works fine, but it does something that doesn't seem right to me.

In order to test, I'm connecting from my laptop using a Telnet client (both the Microsoft one and putty exhibit the same behavior).  When I connect to the server, the serial monitor shows the text and everything looks good.  The issue is that within about two seconds after I stop typing, I get disconnected (the MS Telnet client displays "Connection to host lost"). 

Is this expected behavior?  I figured the connection would stay until I closed my Telnet client.

dlmorgan999

  • Newbie
  • *
  • Posts: 15
Re: WiFi drops connection almost immediately on inactivity
« Reply #1 on: October 25, 2014, 03:17:59 pm »
I figured this one out.  It appears that the default value for TCP Time Out is one second.  I changed it and now it's working fine.