Your game should be written as a browser plugin, as browsers do not support such things. It looks like BITLET is using java, which will work, or FLASH 10 also supports socket connections, so this will be a different alternative. You probably want to have a central server to keep track of which different access points are available. Each client can connect to the server, get a list of clients, and then create connections to the TCP port for each client to which it wants to connect. Then each client could additionally tell each other about other clients, etc.
source share