network gaming via port 80

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
The Onslaught
Posts: 41
Joined: Mon Jan 29, 2007 3:33 pm

network gaming via port 80

Post by The Onslaught »

Hey what's up, I'm working on my graduation project it's a multiplayer chess game, and of course, I'm using Irrlicht.

The thing is, my professor is telling me to implement the network gaming via port 80 using XML.

Anyone here has tried that before?
After reading this sentence you will realize you have wasted 5 seconds of your life
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Anyone here has tried that before?
I don't see how it's any different from your average network game.

Well port 80 is the html port offcourse. But theres really no other reason why you cannot use general binary sockets on it. I think some low-numbered ports are restricted in most operating systems thanks to system-level processes e.g. messaging, dhcp, etc. But in most cases port 80 is left free to be played with.

Got anymore details? Do you have to use TCP? Can it use the UDP protocol?
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
The Onslaught
Posts: 41
Joined: Mon Jan 29, 2007 3:33 pm

Post by The Onslaught »

well it's a chess game, it is imperative the use of TCP.

I think, that the only extra work is the XML parsing.
After reading this sentence you will realize you have wasted 5 seconds of your life
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Your professor might want you to implement it using HTTP protocol, e.g. with a webservice (http://en.wikipedia.org/wiki/Webservice). You could use the CURL lib (http://curl.haxx.se/) for the HTTP protocol stuff instead of re-inventing the wheel.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
dlangdev
Posts: 1324
Joined: Tue Aug 07, 2007 7:28 pm
Location: Beaverton OR
Contact:

Post by dlangdev »

Image
Post Reply