UdpSocket.create

UdpSocket create(UdpSocketConfig config = UdpSocketConfig.init) static @trusted

Create a detached UDP socket wrapper.

Parameters

configSocket configuration (defaults to UdpSocketConfig.init).

Returns

A new socket wrapper ready to be bound.