c-era has asked for the wisdom of the Perl Monks concerning the following question:
use Socket; $host="somehost"; socket(SOCK,PF_INET, SOCK_RAW, getprotobyname('icmp')) || die $!; send (SOCK, pack("C2 S5", 17, 0, 0xc898,0x2667,0,0,0), 0x04,sockaddr_i +n (0,inet_aton($host)) ) || die $!;
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I increase the TTL on a socket?
by c-era (Curate) on May 16, 2000 at 18:40 UTC | |
|
Re: How do I increase the TTL on a socket?
by Anonymous Monk on Jul 13, 2001 at 18:39 UTC |