Arduino Function: Server.print

Description

This function prints data to all the clients that are connected to a server. It 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').

Syntax

server.print(data) 
server.print(data, base)

Parameters

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

Returns

 The print() function will return a byte containing the number of bytes written *byte


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