Syntax
virtual size_t write(
    const uint8_t * buf, 
    size_t size
);
ContentsIndex
PreviousUpNext
LTcpServer::write Method (uint8_t *, size_t)
LTcpServer Class
Syntax
virtual size_t write(
    const uint8_t * buf, 
    size_t size
);
Description

Writes data to all clients connected to this server object.

Parameters
Parameters 
Description 
const uint8_t * buf 
Write an array of bytes to all connected clients.
 
size_t size 
buf size in bytes
 
Returns

Actual written bytes. 

Since this counts all bytes written to all connected clients, this value can be bigger than the size parameter passed to this method.

File

LTcpServer.h

Class