Avaliação do Usuário

Estrela inativaEstrela inativaEstrela inativaEstrela inativaEstrela inativa
 

hb_inetDGram()

Create a datagram socket
Syntax
hb_inetDGram( [<lBroadcast>] ) -> SOCKET
Argument(s)
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

This is Harbour specific