Open ruokeqx opened 6 months ago
is it possible to provide some method to bind interface like ping do?
ping [-AaCDdfnoQqRrv] [-b boundif] -b boundif Bind the socket to interface boundif for sending. This option is an Apple addition.
use control function in ListenConfig is one option, but may need change x/icmp to net.ListenConfig
is it possible to provide some method to bind interface like ping do?
use control function in ListenConfig is one option, but may need change x/icmp to net.ListenConfig