Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

This function can be used to create a socket in LUA.

Signature

xcon.Create (string, number, string, number, string, number)

Parameters

Name Type Mandatory/Optional Description
stringMHandle that identifies the connection within the LUA script.
numberMSocket type. Allowed values are nxa.xcon.UDP = 1, nxa.xcon.TCPClient = 2, nxa.xcon.HTTP = 4, nxa.xcon.RSS = 5, nxa.xcon.COM = 6, nxa.FTPClient = 8 TODO XXXX
stringMthe IP address of the local interface. If empty, the IP is detected by the system.
numberMthe local port that is used for the connection. If zero, the system selects one.
stringMthe IP address or host name of the remote server.
numberMthe remote port that is used to connect to.

Return

None.
  • No labels