Jump to content

TCPSend


Recommended Posts

I dont know, I get confused with all that malarky.

I see binary writen as 0x356685e44288 etc... which looks same as hex, but I always was led to believe that binary was 0s and 1s 1100101100 etc.. :)

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Are you sending it as a string "0x3132" or 0x3132 ?

That might be the issue... let me dig in the code a little.

Edit:

Wouldn't 0x3132 be interpreted as hex?

EDIT:

isBinary saves the day. Thanks

if not IsBinary($data) then $data=Binary($data)
Edited by dexto
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...