Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Send a UDP Packet with bunch of numbers in PERL?

by Mr. Muskrat (Canon)
on Aug 18, 2016 at 21:31 UTC ( #1170025=note: print w/replies, xml ) Need Help??


in reply to Send a UDP Packet with bunch of numbers in PERL?

You need to find out exactly what the device on the receiving end is expecting before you can start to implement a solution.

It sounds like you figured out that the values must be big-endian singles or doubles. However, you seem to be contradicting yourself in your various replies about how they are to be sent. NetWallah and pryrt have tried to get you to understand but I'll take another go at it.

Does it take a comma separated list of values (like you described with the hex numbers), a single value (so separate packets for each value) or a series of values in some specific format? Perhaps there is documentation that describes said format?

  • Comment on Re: Send a UDP Packet with bunch of numbers in PERL?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1170025]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2018-06-21 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (117 votes). Check out past polls.

    Notices?