soStatus (Function) |
Top Previous Next |
The soStatus function will return information about the socket.
While this function can be used on a connectionless socket (type _SO_TYPE_DGRAM), the information returned is rarely useful. (The status returned will always be 1 (not connected) and the remote address will only be valid if set by the soConnect function)
Input: socket : SYSHANDLE Handle to the socket.
Output: local : STRING The socket address of the local end of the connection.
remote : STRING The socket address of the remote end of the connection.
Returns: INT
Declaration: FUNCTION soStatus : INT;
Example:
|