The General Network Server is a compact, multi-threaded server that is designed to allow any
number of different clients to exchange data, list like channels, and provide a gateway for data
exchange. The server basically works by allowing users to login with a user ID, password, and
client/game ID. The user is automatically placed in the group with the matching ID as the
game ID, this allows them to communicate with other uses that are using the same game/client.
Users are then able to list other groups that have a matching client/game IDs, they can join these
groups, or make new ones. All groups support a title and mode, which is returned to the client
when they join a group.
There are a number of commands that the server accepts, in order to
keep the server running at top speed, error checking is very light on the server, so commands
must be formatted correctly by the client. If you are planning on writing a game using the
General Network Server, you will need to understand the protocol it uses to
exchange data. If you came here for the source code, make sure you
agree to the license before you do anything with it. If you
have any questions or features you would like to see, use the forum.
Games Powered by GNS: Space Frag I
[ Information ]
Requires: JRE 1.1 (Java Application)
Development Time: 8.5 Hours
Lines of Code: 550 lines
Code Size: 14K
[ Version History ]
- 1.0.1 - Initial Release
- 1.0.2 - @transid and @transname commands were added.
- 1.0.3 - Memory leak and socket bugs were fixed.