Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: sending hexadecimal data via telnet

by aitap (Deacon)
on Aug 07, 2012 at 13:25 UTC ( #985983=note: print w/replies, xml ) Need Help??


in reply to sending hexadecimal data via telnet

Or use pack to transform arbitrary hexademical numbers into bytes. For example:
$ echo -n deadbeef | perl -pe's/([[:xdigit:]]{2})/pack("H2",$1)/ge' | +xxd 0000000: dead beef ....
Sorry if my advice was wrong.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-12-04 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (63 votes). Check out past polls.