Viva Clipper !

HB_INETACCEPT()

Advertisements

HB_INETACCEPT()

Wait until a socket is ready

Syntax

      HB_INETACCEPT( <socket> ) -> SOCKET

Arguments

An INET socket

Returns

<socket> a socket previously created / opened

Description

Waits until a connection is available on a socket created with hb_InetServer, returns a socket that can be used to communicate with the incoming client.

On error, NIL is returned and error code sets in the passed SOCKET.

This error can be accessed using hb_InetErrorCode() function.

Compliance

Harbour

Advertisements

Advertisements