Sunday, March 18, 2007

Playing Age of Empires on Internet or among different subnets

Since the hostels of IIT Roorkee got Wi-Fi internet connectivity, the search for ways to play popular games like the Age of Empires and Counter Strike among different hostels began. But the main problem is that each hostel is in a different subnet so the direct IP of the host machine cannot be used to join the game. After a tiresome search, we came across a software called Hamachi, that facilitates the creation of LANs among hosts that are in different subnets or behind a NAT (Network Address Translater). Using it is also quite simple - just install it and create a network that others can join.

What I'm most impressed with is the technology that goes behind it. It assigns a private IP in the range 5.x.x.x to each node when the node first communicates with the Hamachi server. Consequently, the other members of the virtual Hamachi LAN can use this IP to access the machine. It uses UDP hole punching (similar to peer-to-peer funda) to establish direct communication between the various virtual LAN nodes. I tried finding some research paper or patent by Hamachi, but couldn't. If someone knows more about this, please mail me at amiacs[at]gmail.com .

5 comments:

mitanshu said...
This comment has been removed by the author.
mitanshu said...

Thanks for sharing this nice info. about Hamachi server. very soon, your comp. will be saying "The bomb has been planted!"

Achilles said...

Could you please be elaborate on why this UDP hole punching did not catch your imagination? I mean people have been using peer to peer for gaming as well!

absg1511 said...

Another problem to be addressed is that the wifi is sporting such a low speed that it would not be able to support games efficiently, don't forget the breaking of connection from time to time (at least dats d case in Govind)

amiacs said...

Hey, Govind has been cursed with erring Wi-Fi connections.
Well, thats all about hardware and software can't address it.