sockDisconnect (Function) |
Top Previous Next |
Disconnects a socket and the connection established. All references to the connection identification (ID) after this call are illegal.
Please note that for each sockConnect(), there must be a sockDisconnect(), even if the connection is closed from the "outside" (see example below).
Input: id : SINT ID of the connection.
Returns: INT
Declaration: FUNCTION sockDisconnect : INT;
Example:
|