Jump to content

Recommended Posts

Posted (edited)

Hello, 

I want to make a TCP/IP client that sends null terminated strings. Three of them to be exact

Are the string null terminated by default? If not, how do I make them null terminated?

Sorry, I am a newb at this. 

Thanks

Edited by Kazuma
Posted (edited)

Hi,

Welcome to the autoit forum :)

The null char can be done using the Chr function like this :

$str = "mystring" & Chr(0)
Br, FireFox. Edited by FireFox

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...