Jump to content

Recommended Posts

Posted

hi gents,

 

It seems I have a problem when Lua sends data to my server app. The data always seems to be proceeded by useless data. What I mean is: say, the data the Lua script sends is "40 30 70", the server will pick up the data as "kdjfkdj40 30 70" (kdjfk is just some random bytes I picked, it's size is also random, sometimes 0). I used some values to mark the beginning of the data, but I just found this to be annoying, as it shouldn't send useless data. Any ideas?

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..