onSocketNewConnection

Event Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Server 1.0.0

function(Event event, Socket socket)

The onSocketNewConnection event is invoked when a socket receives a new connection.

Parameters

1) Event event The event object for this event.
2) Socket socket The new socket connection.

Attributes

const This event cannot be cancelled.

Notes

There aren't any notes for this event.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

OnSocketLostConnection
OnSocketNewConnection