Sign in to follow this  
Basiror

[web] PHP sockets datatype transmission

Recommended Posts

hi I have a little question on how to transmit information from PHP to a server written in c++, via sockets i have lets say 50 integer variables how do i send those to the c++ server via sockets? one way would be to convert them to strings but i am actually looking for a buffered approach maybe an array with 50 elements? how can i transmit those 50 integers with only 200 bytes or is the only solution to convert to strings?

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