18 numread = wvcon->
read(buffer,
sizeof(buffer));
21 wvcon->print(
"You said: ");
22 wvcon->
write(buffer, numread);
23 wvcon->print(
" (%s bytes)\n", numread);
virtual size_t write(const void *buf, size_t count)
Write data to the stream.
bool select(time_t msec_timeout)
Return true if any of the requested features are true on the stream.
virtual size_t read(void *buf, size_t count)
read a data block on the stream.
virtual bool isok() const
return true if the stream is actually usable right now