sockServer.onAccept
(since 1.0)
Client connected callback
Description
string
sockServer.onAccept
(
[client client] )
This function is called when a client connects to the socket
Parameters
client
The client object
Examples
socket.onAccept = function(client) {
Ape.log("New client !");
client.write("Hello world\n");
}
User notes
# No comment
Post a note
CollaborAPE to our wiki !
Find the information you need on the APE Official Wiki : Install, Server, JSF, Help...
