Jump to content

UDPSend() with hex/bin data?

Recommended Posts

$String = "Your Text Here"

UDPSend($SocketArray, _StringToHex($String))

On other side you must add:

$String = UDPRecv($Socketarray)

$String = _HexToString($String)

My query request is actually meant for a War3 lan server. I had used a packet dump to get UDP data "\xf7\x2f\x10\x00\x50\x58\x33\x57\x14\x00\x00\x00\x00\x00\x00\x00" which will trigger the War3 lan server to return information about an active game.

However, I'm unable to formulate the Hex/Bin string to send the data over using AutoIT due to its inability to send UDP packets in hex/bin form. I believe this feature can greatly enhance the usefulness of AutoIT in the creation of Internet tools in the future.

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...