Skip navigation

Category Archives: Network Programming

HTML5, Javascript, Phaser, Team of 3

Developed a simple bubble popping browser game. Connection between game client and server using Javascript, and a TCP connection.

Used Vagrant Box for consistent development across multiple development machines.

Communicated to Facebook Graph API for player authentication. REDIS was used for high scores server.

C++98, MySQL, Team of 3

Developed an Authentication Server that is connected to a MySQL database where user credentials are stored, and accessed. The Authentication server communicates directly with the chat server.

When an authentication message is received by the chat server, it saves the port number, and sends a message to the authentication server. When a message is returned, it will relay that message to the chat client appropriately.

Passwords stored in the MySQL database are stored with SHA-256 hash and a random SALT value for strong protection.
Communication between the chat client, chat server, and authentication server uses TCP.

C++98, Team of 3

Developed a chat client and chat server to run on Windows using WinSock2. Client takes commands from the user through a console window to connect to a server with specified ip, and port number. join chat rooms, send messages, leave chat rooms, and disconnect.

Developed a chat server which is non-blocking and allows multiple clients to connect and communicate to each other. When a chat message is received, the server relays that message to all other clients within that chat room. Client disconnections and interruptions are handled, and does not interrupt the execution of the server.

Packets are serialized using Google Protocol Buffers, and prepended with the packet length. Which is stored as 4 byte in Little Endian format.

Communication between the chat server, and client uses TCP.