connection_handle_OnReceiveEvent
Description
This function is invoked when an XCON connection received data. Create a function for each connection to monitor and name it accordingly, e.g. for connection socket1 create the function socket1_OnReceiveEvent.
Signature
_OnReceiveEvent (string, number, string, number)Parameters
Name | Type | Mandatory/Optional | Description |
---|---|---|---|
string | M | data string | |
number | M | data size | |
string | M | IP address of sender | |
number | M | port number of sender |