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

Writes data to server after connected to one.

Parameters
Parameters 
Description 
size_t size 
Size of byteArray, in bytes
 
byteArray 
byteArray to be sent
 
Returns

Total written bytes. 

 

Example
    char *message = "GET /search?q=arduino HTTP/1.0";
    client.write((uint8_t*)message, strlen(message));  // client is an instance of LWiFiClient or LGPRSClient.
File

LTcpClient.h

Class