Reference.ServerPrint History

Hide minor edits - Show changes to markup

June 04, 2010, at 03:36 AM by Equipo Traduccion -
Changed lines 1-2 from:

Ethernet : Server class

to:

Ethernet : clase Server

Changed lines 5-6 from:

Description

to:

Descripción

Imprime datos a todos los clientes conectados al servidor. Imprime numeros como secuencia de digitos, cada uno como caractér ASCII (ej: el numero 123 es enviado como los tres caracteres '1', '2', '3').

Changed lines 11-23 from:

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 print numbers: BIN for binary (base 2), DEC for decimal (base 10), OCT for octal (base 8), HEX for hexadecimal (base 16).

Example

to:

Sintaxis

servidor.print(datos)
servidor.print(datos, BASE)

Parámetros

datos (opcional): los datos a imprimir (char, byte, int, long, o string)

BASE (opcional): la base en la que se imprimen los numeros: BIN para binarios (base 2), DEC para decimal (base 10), OCT para octal (base 8), HEX para hexadecimal (base 16).

Ejemplo

September 02, 2008, at 10:35 PM by David A. Mellis -
Changed lines 1-2 from:

Server class

to:

Ethernet : Server class

September 02, 2008, at 10:32 PM by David A. Mellis -
Added lines 1-23:

Server class

print()

Description

Print data to all the clients connected to a server. Prints numbers as a sequence of digits, each 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 print numbers: BIN for binary (base 2), DEC for decimal (base 10), OCT for octal (base 8), HEX for hexadecimal (base 16).

Example


Share