hb_inetDGram()

HB_INETDGRAM()

Create a datagram socket

Syntax

      HB_INETDGRAM( [<lBroadcast>] ) -> SOCKET

Arguments

lBroadcast

Returns

An INET socket

Description

Creates a datagram-oriented socket that will be able to send data and eventually receive data. Since the socket is not bound, the program can’t retrieve the address at which this socket appaers to be, but a second socket receiving a message sent from this one would be able to reply correctly with a datagram that can be read from a non-bound socket.

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, and if an error occurs, the socket error message and code are set.

Compliance

Harbour

Advertisements

3 responses to “hb_inetDGram()

  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