pub async fn packet_socket(
    provider: &ProviderProxy,
    kind: Kind
) -> Result<Result<Socket, Error>, Error>
Expand description

Creates a packet socket using the given provider.