Methods
onConnection(socket)
onConnection - called when a socket connects to the server.
Parameters:
Name | Type | Description |
---|---|---|
socket |
Socket | description |
- Source:
Handles socket connections
onConnection - called when a socket connects to the server.
Name | Type | Description |
---|---|---|
socket |
Socket | description |