Networking Concepts - Not sure where to post...
-
I have never really dealt with network packets, and am writing a fun program to really dive into them. I am making an RPG Game using DirectX for graphics, input, and sound. So far so good. I have the game engine started and think all is ok there. I now want to start the client/server side of the programming. The problem is I don't know how to have the client and server actually talk. Do I use SOAP and send object, I could use TCP packets... Which can handle more concurrent connections? It is to be a MMORPG... So, if I use one technology over another, still how to I determine what action they are taking(walking, talking, attacking... ect.) Basically, what technology should I look into, and can you explain why and very basically how they work. Keep in mind I am not asking for code but for advice. Code samples would be cool though. If you know any articles, send them my way as well. Thanks for any help!
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
-
I have never really dealt with network packets, and am writing a fun program to really dive into them. I am making an RPG Game using DirectX for graphics, input, and sound. So far so good. I have the game engine started and think all is ok there. I now want to start the client/server side of the programming. The problem is I don't know how to have the client and server actually talk. Do I use SOAP and send object, I could use TCP packets... Which can handle more concurrent connections? It is to be a MMORPG... So, if I use one technology over another, still how to I determine what action they are taking(walking, talking, attacking... ect.) Basically, what technology should I look into, and can you explain why and very basically how they work. Keep in mind I am not asking for code but for advice. Code samples would be cool though. If you know any articles, send them my way as well. Thanks for any help!
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
-
I skimmed over it and I still don't see how I determine what they are trying to do(walk, talk, attack ect...) Have you used this before, and what for?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
-
I skimmed over it and I still don't see how I determine what they are trying to do(walk, talk, attack ect...) Have you used this before, and what for?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
You can use WCF to easily implement a solution for any of these scenarios:
- Client (player) polls server when it needs to update its state of the world.
- Client (player) informs server when it performs an action (move, fire, etc.)
- Server broadcasts events to clients when the state of the universe changes.
I suspect you may want to use the 2nd and 3rd options, although you could use any combination. Btw, WCF is very efficient in handling multiple client sessions. I currently use WCF at work. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
You can use WCF to easily implement a solution for any of these scenarios:
- Client (player) polls server when it needs to update its state of the world.
- Client (player) informs server when it performs an action (move, fire, etc.)
- Server broadcasts events to clients when the state of the universe changes.
I suspect you may want to use the 2nd and 3rd options, although you could use any combination. Btw, WCF is very efficient in handling multiple client sessions. I currently use WCF at work. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
Ok, I will look into. Thanks for the help. Would it be ok if I contacted you at your email address on your signature if I have any problems?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
-
Ok, I will look into. Thanks for the help. Would it be ok if I contacted you at your email address on your signature if I have any problems?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
Feel free to send me email, although I can't guarantee a swift response. :) You're better off posting in this forum or in microsoft.public.dotnet.framework. /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com