Kazuma Posted July 3, 2013 Share Posted July 3, 2013 (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 July 3, 2013 by Kazuma Link to comment Share on other sites More sharing options...
FireFox Posted July 3, 2013 Share Posted July 3, 2013 (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 July 3, 2013 by FireFox Link to comment Share on other sites More sharing options...
Kazuma Posted July 3, 2013 Author Share Posted July 3, 2013 thanks worked like a charm Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now