Reference Language | Libraries | Comparison | Changes
Ethernet : Server class
Gets a client that is connected to the server and has data available for reading. The connection persists when the returned client object goes out of scope; you can close it by calling client.stop().
available() inherits from the Stream utility class.
server.available()
None
a Client object; if no Client has data available for reading, this object will evaluate to false in an if-statement (see the example below)
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.