Code

Added support for PING_OPT_DEVICE.
authorSebastian Harl <sh@tokkee.org>
Fri, 17 Jul 2009 12:05:17 +0000 (14:05 +0200)
committerFlorian Forster <sifnfors@stud.informatik.uni-erlangen.de>
Fri, 17 Jul 2009 12:50:25 +0000 (14:50 +0200)
This option may be used to set the outgoing network device to be used. The
value passed must be a char-pointer to a null-terminated string specifying an
interface name (e.g. eth0).

Please note that this might not be supported by all operating systems. In that
case, ping_setopt() sets the error to "operation not supported".


No differences found