Creates a new UDP socket.
Optional
The local port number. If port is zero or missing, a random port number will be automatically selected.
Optional, if ture, a broadcast socket will be created.
A socket fd.
Libertas-OS limits the maximum concurrent sockets a task can create. An error will be raised if the limit is reached.
Creates a new UDP socket.