sockServer.onRead
(since 1.0)
Client data received callback
Description
string
sockServer.onRead
(
[client client], [string data] )
This function is called when a client sends data on his socket
Parameters
client
The client who sent data
data
The read data
Examples
socket.onRead = function(client, data) {
Ape.log('Received: '+data);
}
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...
