( ⇘ CAA_NetBaseServices.library)
The next free connection is determined by handle exchange and set to active. As long as xActive is TRUE the handle of the connection is valid. If xActive is FALSE the handle of the connection is invalid. hConnection can be used as input hConnection for function blocks ⇘ NBS.TCP_Write, ⇘ NBS.TCP_WriteBuffer, ⇘ NBS.TCP_Read and ⇘ NBS.TCP_ReadBuffer.
Output:
xDone |
BOOL |
see: ⇘ “CAA 指南” |
xBusy |
BOOL |
see: ⇘ “CAA 指南” |
xError |
BOOL |
see: ⇘ “CAA 指南” |
eError |
NBS.ERROR |
Error id |
xActive |
BOOL |
TRUE: Handle valid FALSE: Handle invalid |
hConnection |
CAA.HANDLE |
Handle of the connection |