Arduino Function: GSMclient.write

Description

This method write data to the server if the client is connected to.

Syntax

client.write(data)
client.write(buffer)
client.write(buffer, size)

Parameters

  • data: the value to write (byte or char)
  • buffer : an array of data (byte or char) to write
  • size : size of the buffer to write (byte)

Returns

 byte - write() returns the number of bytes written. It is not necessary to read this.


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc