in reply to How to both send and receive in a Net::PcapUtils loop?

While it is possible to construct a PING packet, I would recommend using a canned method, like Net::Ping to send and receive the ping. This has a TCP ping option (the default).

If all you are looking for is Ping response time, Net::Ping can provide that info.

It would probably be best to do the Ping in a different thread, since it blocks, waiting on a response.

    ..."I don't know what the facts are but somebody's certainly going to sit down with him and find out what he knows that they may not know, and make sure he knows what they know that he may not know, and that's a good thing. I think it's a very constructive exchange," --Donald Rumsfeld

  • Comment on Re: How to both send and receive in a Net::PcapUtils loop?

Replies are listed 'Best First'.
Re^2: How to both send and receive in a Net::PcapUtils loop?
by Prism (Initiate) on Jan 05, 2005 at 17:01 UTC
    Thanks for the reply, I need more information than just the ping response time though... I'll look into putting the ping in a different thread, thanks.