Adopts an existing datagram socket.
The socket must be properly bound before this function is called.
Socket file descriptor to adopt
Returns a socket handle corresponding to the passed socket descriptor. If the same file descriptor is already registered, DatagramSocketFD.invalid will be returned instead.
See Implementation
Adopts an existing datagram socket.
The socket must be properly bound before this function is called.