The Arduino Reference text is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Find anything that can be improved? Suggest corrections and new documentation via GitHub.
Doubts on how to use Github? Learn everything you need to know in this tutorial.
Read the next byte received from an attached client (after the last call to read()).
read() inherits from the Stream utility class.
server.read()
none
int - The next byte (or character), or -1 if none is available.