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

hSocketSocket
hostResult hostname
portResult port
bNumericHostOptional. If TRUE, the numeric form of the hostname is returned
bFQDNOptional. 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.