MMO Theory, How to make Gameloop & Sockets both work?
Using,
.NET 1.1,
Managed DirectX,
C#. (This info is not really needed though)
Ok, i have a MMO in the first stage. I simply setup my program, learned some sockets (newb) to make the programs talk to eachother. I called it a night, but by tomorrow morning (7-30), i'll have a working glorified Chat Program.
Next step? Graphics! Wee.
I am going to be using DirectX & DirectDraw (2d Zelda Style) for my graphics, which is not in question.
What is in question is the fact under how i learned game programming in general, we have a Game Loop correct? This totally conflicts with how my Sockets are running...
So my question is, what is the general Theory (idea) behind Online Graphics Programming? The only thing i can think of is create two Threads (which i dont know how to yet, keyword, yet), then simply run each on apposing threads. Each communicating back to the actual program when needed.. i think.
I dunno, but i would much appreciate a very general description of how you would go about online game programming... Again, this is theory, so any info is good info, Thanks!