1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
amcewen
b455e81b76 Proposed fix for issue 243, adding DNS to the Ethernet library. Uses a slightly modified version of the agreed API as the host/port parameters have been moved from the Client constructor to the Client::connect methods. This means it's possible for errors to be returned if the DNS lookup fails and also reduces the RAM footprint of the Client class as it no longer needs to store the host/port for later use in Client::connect. 2011-04-16 19:38:36 -04:00
David A. Mellis
f43c0918ff Merge branch 'dhcp' of github.com:amcewen/Arduino.
This includes DCHP support and new UDP API for the Ethernet library.
2011-03-23 23:28:33 -04:00
David A. Mellis
1dd4bd6d2a Removing Client operator==(int) and operator!=(int) from Ethernet library.
http://code.google.com/p/arduino/issues/detail?id=408
2011-03-02 23:45:51 -05:00
David A. Mellis
d05e4021d0 Renamed WProgram.h to Arduino.h. 2011-03-01 19:52:13 -05:00
amcewen
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
David A. Mellis
ea8a1182b8 Adding Client::peek() in Ethernet library (issue #349). 2010-09-16 01:11:19 +00:00
David A. Mellis
54d367b1e0 Making Client inherit from Stream, which unforunately means taking peek() out of Stream for now, since there's no immediate implementation for Client. 2010-08-11 18:19:01 +00:00
David A. Mellis
e4b255acb9 Removing the _connected field from Client since we don't use it anymore. 2010-08-03 14:23:29 +00:00
Tom Igoe
98cb2e4ce3 Added WProgram.h include to Client.h to allow it to inherit all of WString.h correctly. See issue #310 for details. 2010-08-02 22:38:42 +00:00
David A. Mellis
e24b135755 Adding SPI library and revising Ethernet library (Christian Maglie). 2010-08-02 18:59:44 +00:00
David A. Mellis
3075c8e4fd Moving libraries out of arduino platform / core directory and to top-level. 2009-11-07 17:54:56 +00:00