This function states whether a socket is valid or not.
This functionality is supported on PDMM, PCMM, and Simulators. PACs are not supported.
| En | Description | Execute the function |
| Data type | BOOL | |
| Range | [0,1] | |
| Unit | n/a | |
| Default | — | |
| sock | Description | ID of the socket |
| Data type | DINT | |
| Range | [0,+65535] | |
| Unit | n/a | |
| Default | — |
| OK | Description | Returns true when the function successfully executes. See Function - General rules. |
| Data type | BOOL | |
| Unit | n/a |
bIsValid := udpIsValid(Socket_Number); //Valid socket?
|
Copyright © 2015 Kollmorgen™ |
|