in reply to Optimized remote ping

Use Net::Oping. I'm not sure if it's possible to set the destination port.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^2: Optimized remote ping
by Anonymous Monk on Jul 17, 2015 at 11:20 UTC
    Checked the cpan description, the module doesn't support TCP connection.