Function DatagramSocket.create
Create a datagram socket
This creates a SOCK_DGRAM (UDP type) socket.
Parameters
Name | Description |
---|---|
bindAddr | a socket address for the server to connect to. |
Returns
Returns the newly created socket.
Throws
ErrnoException if the connection fails. Also throws this if one of the system calls fails.