hping wiki

Differences for page hping recv

Current version compared with version Tue May 18 04:24:15 GMT 2004

...
  subcommand behaviour to return as soon as `count` packets were
  already received. A special `count` value of zero means
  to collect an infinite number of packets (at least until the
- timeout is not reached).
+ timeout is not reached). 
  
  The optional *-hexdata* switch specify to return packets payload
  as hex digits instead of quoted strings. To use *-hexdata* is encouraged
...
   hping3.0.0-alpha> hping recv -hexdata eth0
   ip(ihl=5,ver=4,tos=00,totlen=84,id=2435,fragoff=0,mf=0,df=0,rf=0,ttl=49,proto=1,cksum=25be,saddr=216.239.39.99,daddr=192.168.1.6)+icmp(type=0,code=0,id=55048,seq=512)+data(hex=3f565c1b000d7e4008090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3031323334353637)
  
-  # Wait for all the packets received in 5 seconds, and print how much they are
+  # Wait for all the packets received in 5 seconds, and print how many they are
   hping3.0.0-alpha> puts [llength [hping recv eth0 5000 0]]
   36
  
...

The following is the old page content