Available on neko, macro
dynamicinitClientApi (cnx:SocketConnection, ctx:Context):Void
dynamiconXml (cnx:SocketConnection, data:String):Void
Stream to send error messages.
Space allocated to buffers when they are created.
Number of total connections the server will accept.
Maximum size of buffered data read from a socket. An exception is thrown if the buffer exceeds this value.
The most sockets a thread will handle.
Minimum message size.
Number of server threads.
Time between calls to update.
Called when the server gets a new connection.
Called after a client connects, disconnects, a message is received, or an update is performed.
Called when a client disconnects or an error forces the connection to close.
dynamiconError (e:Dynamic, stack:Array<StackItem>):Void
Called when an error has occurred.
sendData (s:Socket, data:String):Void
Sends data to a client.
Shutdown a client's connection and remove them from the server.
This method is called periodically. It can be used to do server maintenance.
work (f:Void ‑> Void):Void
Internally used to delegate something to the worker thread.