|
Parameters for connecting to the IPLink server.
Configuration Syntax
"IP address, port number, update cycle (ms), communication timeout (seconds), connection timeout (seconds)"
Parameters
IP address
|
|
Type:
|
String
|
|
The IP address of the server (IPv4). If omitted, the default IP address of the PC that started the server will be used.
|
Port number
|
|
Type:
|
Numeric
|
|
The server port number.
|
Update period (ms)
|
|
Type:
|
Numeric
|
|
The period for automatic updates using the Update property. If omitted, the default is 1000ms (1 second).
|
Communication timeout (seconds)
|
|
Type:
|
Numeric
|
|
This is the timeout period for communication. If omitted, it will default to 5 seconds. (Set a value of 1 or more.)
|
Connection Timeout (seconds)
|
|
Type:
|
Numeric
|
|
The timeout period for connection. If omitted, it will be set to 4 seconds.
|
The NetworkParam property must be set before going online.
If you want to change the connection destination, go offline, change the NetworkParam setting, and then go online again.
If the server and client are configured to run on a single PC, there is no need to specify the IP address.
By omitting the IP address, you can avoid the trouble of changing the IP address settings when migrating your environment to another PC, for example.
Conversely, if you want to run a client program on a remote PC, you must explicitly state the server's IP address.
|
AxIPLink1.NetworkParam = “192.168.1.1,3000,1000,5,10”
|
reference
Online
CtlUpdate
|