Skip to main content
gamedev.net
🔒 Locked

client server model

Started by Ankur aggarwal 0 replies 750+ views
Original Post
Ankur aggarwal
Ankur aggarwal
i want to transfer the structure from server side to client side..Plz help me out...i have written the code in C for both server and client but dont know how to send the structure content to client side...
mrcheesewheel
mrcheesewheel
Well the actual network code depends on the target platform unless you are using a generic framework like SDL. Basically you just need to read a network programming guide for whatever API is appropriate for your platform. If your code is actually C++ and not C... there are a number of nice neat packages to make your life easier. I guess there are similar C APIs to help. Basically networking consists of making a connection and sending or receiving packets of data and processing them... typically some sort of buffers are involved. I wouldn't like to be more specific without more details on exactly what you are doing. If you provide some more information I'm sure someone will help you more specifically,

Dan

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.