pub async fn datagram_socket(
provider: &ProviderProxy,
domain: Domain,
protocol: DatagramSocketProtocol,
) -> Result<Result<Socket, Error>, Error>
Expand description
Creates a datagram socket using the given provider.
pub async fn datagram_socket(
provider: &ProviderProxy,
domain: Domain,
protocol: DatagramSocketProtocol,
) -> Result<Result<Socket, Error>, Error>
Creates a datagram socket using the given provider.