## Reference.ServerPrintln History

Hide minor edits - Show changes to markup

November 23, 2011, at 01:30 AM
by Scott Fitzgerald -

Changed lines 25-26 from:

println() will return the number of bytes written, though reading that number is optional

to:

println() will return the number of bytes written, though reading that number is optional

\\

November 04, 2011, at 02:45 PM
by Scott Fitzgerald -

Changed lines 19-25 from:

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).

to:

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).

#### Returns

byte

println() will return the number of bytes written, though reading that number is optional

November 01, 2011, at 03:42 PM
by Scott Fitzgerald -

Changed lines 19-24 from:

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:

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).

September 02, 2008, at 10:47 PM
by David A. Mellis -

Changed lines 13-14 from:

to:

*server*.println(data, BASE)

September 02, 2008, at 10:35 PM
by David A. Mellis -

Changed lines 1-2 from:

to:

September 02, 2008, at 10:33 PM
by David A. Mellis -

Added lines 1-24:

*Server* class

## println()

#### Description

Print data, followed by a newline, 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*.println()

*server*.println(data)

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

#### Example