Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^14: IO::Socket Listen

by Marshall (Prior)
on Dec 12, 2011 at 00:57 UTC ( #942990=note: print w/ replies, xml ) Need Help??


in reply to Re^13: IO::Socket Listen
in thread IO::Socket Listen

Thanks for sharing your solution with us. It does appear to be a rather 'roundabout way.

I would have hoped that your experiment results would have shown us where the timing problem was:

-t0: send ping to google, wireshark timing
-t1: receive ping from google, wireshark timing
-t2: send packet to device, wireshark timing
-t3: receive packet from device, wireshark timing
-t4: Perl code does something (probably send out a ping so that
we get a time stamp with wireshark).

t2-t1 is the time for Perl to send the packet
t3-t2 is the time for the device to respond
t4-t3 is the time for Perl to do something

However, I am glad that you got a solution!
Perl is like the "Swiss army knife of the internet".


Comment on Re^14: IO::Socket Listen
Re^15: IO::Socket Listen
by Secalles (Initiate) on Dec 12, 2011 at 15:16 UTC

    Thanks Marshall , I'll still try to find what the problem is , if i come across another solution I'll share ,I got some interesting results using the program that the controller developer send me , all the information that you and Eliya shared with me are sure helping! Thanks a lot!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://942990]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (20)
As of 2014-07-28 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (207 votes), past polls