Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Hi what is the best model for creating client server application in one solution in xna, client as xna application, server as console and model as reference added to client and server? or maybe one xna application with global variable isHost passed from separate client/ server application running this xna application, or mayby different?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Add multiple projects to your solution in Visual Studio. One will be the XNA game, and one will be a console application or class library that will be referenced by the XNA game project.

Also, here is a sample of how to make a client/server architecture.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.