Create a datagram socket
HB_INETDGRAM( [<lBroadcast>] ) -> SOCKET
An INET socket
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.