Namenetconn_new_with_proto_and_callback() -- Create a new connection structure with a callback for a specific protocol
This function is similar to
except that an additional parameter
proto may be used to indicate the
IP protocol number to use. If
proto is non-zero, it must only be used with
type set to
The most common use of this function is the creation of connections suitable for generating ICMP packets.