hb_inetDGramBind()

HB_INETDGRAMBIND()

Create a bound datagram socket

Syntax

      HB_INETDGRAMBIND( <nPort>, [<cAddress> [, <lBroadcast>] ] ) ;
                        -> SOCKET

Arguments

<nPort>

<cAddress>

<bBroadcast>

Returns

An INET socket

Description

Creates a datagram-oriented socket and binds it to a particular port, and eventually to a certain interface if cAddress is given and not NIL.

If lBroadcast is set to .T., the routine creates a broadcast capable socket: it will be able to receive and send broadcast messages. On most systems this requires special user privileges.

Returns the socket

If an error occurs, the socket error message and code are set.

Compliance

Harbour

Advertisements

3 responses to “hb_inetDGramBind()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour inet Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | 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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s