Skip to main content

packet_socket_with_options

Function packet_socket_with_options 

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

Creates a packet socket using the given provider and configured with the specified options.