Jump to content
Sign in to follow this  
VeCTeR76

Lua client to Winsock 1.0 server problem

Recommended Posts

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?

Share this post


Link to post
Share on other sites

No ideas sorry. But welcome to Biohaz - I hope someone will be able to help you out

Share this post


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
Sign in to follow this  

×

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