Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

<connection_handle>_OnReceiveEvent(stringdata, numberlength, stringip, numberport)

Parameters

Name

Type

Mandatory/Optional

Description

data

string

M

data string

length

number

M

data size

ip

string

M

IP address of sender

port

number

M

port number of sender

Return

None.