TCP
Function Blocks
Connector
METHOD Connect : ERROR
Connects to a server and returns a tcp stream; Call this function until an Error <> PENDING OR Error <> NO_ERROR is returned or pStream is set
Scope
Name
Type
Comment
Input
sIPAddress
STRING
IP address of the server
uiPort
UINT
Port on which the server is listening
Return
Connect
ERROR
Output
pStream
POINTER TO Stream
If the connection is established, pStream is != 0