newSocket: Difference between revisions
Jump to navigation
Jump to search
(No difference)
|
Latest revision as of 15:28, 24 August 2019
Function
Server Only
Online and Offline
Available since Server 1.0.0
Socket newSocket(function handler)
The newSocket function is used to creates a socket, and assigns the incoming data handler function.
Parameters
1) | function | handler | The scripting function to call with data read. |
Return
Socket | A socket handle. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Server Related
newSocket
socket.close
socket.connect
socket.delete
socket.send
socket.sendClient
socket.start
socket.stop