Commit Graph

6 Commits

Author SHA1 Message Date
770830aa01 Revise WiFiClient::Write to handle EAGAIN (#240)
The send call may return EAGAIN. This indicates a recoverable error and a retry should be attempted. The current implementation treats this as a fatal error. Further, the current implementation strips the error code, setting it to 0, which prevents the caller from handling it directly. 
This change utilizes select to verify the socket is available prior to calling send and will retry on an EAGAIN condition.
2017-03-01 00:37:00 +02:00
3c81739b33 need close(sockfd) before sockfd = -1, "_connected = false and close socket" means stop() function. (#73) 2016-12-01 13:27:51 +02:00
57c3650ea2 Disconnect WiFiClient on destruct 2016-11-29 03:27:01 +02:00
d8aa61fa52 Optimize some error messages 2016-11-13 17:30:21 +02:00
a72b8d5635 Remove leftover debug 2016-10-06 07:09:45 -06:00
5f3a205955 initial import 2016-10-06 07:09:44 -06:00