The global parameter list (GPL) contains the global parameters of the TcpUdpCommunication library. The parameters can be edited in the library info window of the .
Variable |
Data type |
Value |
Description |
---|---|---|---|
Gc_uiTCPServerMaxConnections |
UINT |
30 |
Maximum of total connections one instance of FB_TCPServer/FB_TCPServer2 handles. |
Gc_uiTCPServerMaxBacklog |
UINT |
5 |
Maximum number of incoming (but not yet accepted) connections one instance of FB_TCPServer/FB_TCPServer2 handles. |
Gc_udiTCPServerMaxSendToAllSize |
UDINT |
2000 |
Maximum number of bytes to be sent using the SendToAll-method. |
Gc_uiSocketManagementListSize |
UINT |
200 |
Total maximum of sockets supported by the library (sum of the UDP, TCP client, and TCP server sockets). |
Gc_uiDnsBufferSize |
UINT |
512 |
Size (in bytes) of the send and receive buffer used by the FB_DnsClient.
NOTE: Decreasing the default value may result in error message ET_Result.BufferSizeTooSmall.
|
Gc_timDnsTimeOut |
TIME |
T#10s |
Timeout for waiting for a response from the DNS server |
Gc_uiDnsNumberOfIPs |
UINT |
1 |
Number of IP addresses to be returned from DNS server. |