Arduino Function: client.println

Description

This function prints data to the server where client is connected to. Prints numbers as a sequence of digits. Each digit is an ASCII character (e.g. the number 123 is sent as the three characters '1', '2', '3'). The printed data is followed by a carriage return and newline.

Syntax

client.println() 
client.println(data) 
client.print(data, base)

Parameters

data (optional): the data to print (char, byte, int, long, or string) *base (optional): the base in which to print numbers: DEC for decimal (base 10), OCT for octal (base 8), HEX for hexadecimal (base 16).

Returns

 It returns the number of bytes written *byte


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