Network protocol documentation is available here if you are interested in how Ninjam-compatible clients and servers communicate:
https://github.com/wahjam/wahjam/wiki/Ninjam-Protocol
Please feel free to improve the wiki.
I put these notes together as part of setting up an open source project to continue developing the stand-alone Ninjam client and server codebase over at
http://wahjam.org/.