ServerObject:send

Send data to client(s).

Function

Synopsis

server:send(data, recipient)

Arguments

userdata data
The data to send to the client(s).
recipient recipient
The client who shall receive the data, If nil then sends to all client(s).

Returns

"errors" - a count of the number of errors encountered. Anything greater than suggests sending failure.

See Also

Other Languages