1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
983d8af814 Final changes for the Client part of issue 416, which actually include the corrent return values. This should have been in the previous commit, but I'm still getting my head round git. 2011-01-02 22:49:11 +00:00
81b6c69f29 An improved patch for the Client part of issue 416 (adding a multi-byte read). This one moves all of the checking into recv, so that single-byte reads also benefit. It also returns -1 if there's no data available unless we've reached EOF, in which case it returns 0. 2011-01-02 22:21:24 +00:00
ea8a1182b8 Adding Client::peek() in Ethernet library (issue #349). 2010-09-16 01:11:19 +00:00
a642f0a15d Fixing Client and capitalizing header file names.
The switch from checking _sock against a default value, combined with the checking for unconnected clients in status(), broke the Client.  I went back to checking the value of _sock against the default and removed the _connected member altogether because it was redundant (and therefore needed to be kept in sync with _sock).
2010-08-03 13:36:47 +00:00
f5bb3ab541 Return sensible values from Client::connected() and Client::status() if we know it's not connected. 2010-08-03 00:42:23 +00:00
e24b135755 Adding SPI library and revising Ethernet library (Christian Maglie). 2010-08-02 18:59:44 +00:00
3075c8e4fd Moving libraries out of arduino platform / core directory and to top-level. 2009-11-07 17:54:56 +00:00