Working on Client/Server Sockets

Posted on 9/9/2015 by James Auld in Sockets

Just a quick post to let you guys know what I'm working on: Sockets. The existing iTabletop uses a combination of...

web services and a socket connection. The socket connection is the connection I prefer, because the user's device and the server can communicate back and forth in both directions, whereas standard web services only allows the user's device to "poll" for information from the server. Using sockets allows much of the game "logic" to be running on the server in a Windows service, rather than needing to have most everything, all the complex code, running on the user's device. Sockets are also faster, in my opinion.

So Crit3D will be 100% socket based. Right now I'm working on that socket connection code, so that soon I can have an existing iTabletop game download into Crit3D, and have Crit3D start to instantiate the maps, tokens, grids, etc.

Happy gaming everyone!