Viva Clipper !

hb_inetPort()

Advertisements

HB_INETPORT()

Get the port a socket is bound to.

Syntax

      HB_INETPORT( <socket> ) -> cResult

Arguments

<socket> a socket previously created / opened

Returns

Port name the socket is bound to.

Description

Returns the port to which this socket is bound, or the remote port if this socket is connected with a remote host or client

Compliance

Harbour

Advertisements

Advertisements