Sending integer from server to client
Hello !
I'em new to the world of linux and C language and i need a simple example. I made a simple server and client.......no problem sending string but i dont now how to send Integer. It is silly yes. Can you give me a simple example whit "send()" and "resv()". Thank you ! |
Welcome to LQ! :)
It's just an idea, but couldn't you send the int as a string using sprintf()? |
I did at alone.......
10x anyway :) |
All times are GMT -5. The time now is 03:02 PM. |