Create a UDP socket
Symbol
udpSocket
function udpSocket<DataBinaryType extends keyof BinaryTypeList = 'buffer'>(options: SocketOptions<DataBinaryType>): Promise<Socket<DataBinaryType>>
@param options
The options to use when creating the server
function udpSocket<DataBinaryType extends keyof BinaryTypeList = 'buffer'>(options: ConnectSocketOptions<DataBinaryType>): Promise<ConnectedSocket<DataBinaryType>>
Create a UDP socket
@param options
The options to use when creating the server