KCML_Socket_GetSockName
Purpose
Get the current address to which the socket is bound
Definition
DEFSUB 'KCML_Socket_GetSockName(hSocket, BYREF host$, BYREF port, bNumericHost = 0, bFQDN = 1) AS Void
Parameters
| hSocket | Socket |
| host | Result hostname |
| port | Result port |
| bNumericHost | Optional. If TRUE, the numeric form of the hostname is returned |
| bFQDN | Optional. If FALSE, return only the hostname part of the fully qualified domain name for local hosts |
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.