sdl server/client
I'm new to this so i need a little help i can get the client to send data to the server, but i can't get the server to send to the client.How would you go about this using SDL_Net. The game i am doing is a car racing game i send the x and y pos of the car and the direction it is facing. The client connects to the server and if the car moves it shows up on the server side and client side. If i move a car on the server side it only moves on that side. I followed the chat program to do the code but it doesn't seem to tell you how the server sends data to the clients. It is using TCP. Thanks in advance for any info given.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement