Avaliação do Usuário

Estrela inativaEstrela inativaEstrela inativaEstrela inativaEstrela inativa
 

hb_inetDGramBind()

Create a bound datagram socket
Syntax
hb_inetDGramBind( <nPort>, [<cAddress> [, <lBroadcast>] ] ) -> SOCKET
Argument(s)
<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

This is Harbour specific