Skip to content

kamali-sina/D-B-Socket-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dots and Boxes: Socket programming

programmed by Sina Kamali for the OS Course at University of Tehran.

Description

This project is a great example for C socket programming. by using it you can play Dots and Boxes from differant clients. All you need is a server to run the server code on. Feel free to use the code to understand C socket programming.

How to Build

First, run the following to build the project:

make

Then you can run the server by using:

./server <port number>

Where <port number> should be replaced by the port you want your server to run on.

To run the client, you can use:

./client <port number> <optional: username>

Where <port number> is the same as server's port number, and <username> is an optional field for your username in game.

Contact

If you have any questions regrading the code, feel free to contact me by email.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published