HB_INETACCEPT()

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

One response to “HB_INETACCEPT()

  1. Pingback: Harbour inet Functions | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.