Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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.


Comment on Re: sending hexadecimal data via telnet
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-08-04 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (59 votes), past polls