(Systems Final Project Term 1)
Sally Bao
Sandy Fang
openPaint requires gtk+2.0 (this is usually already on Ubuntu machines)
Git clone the repository
Run make to compile all the files
Run select to start the server (this requires PORT 8003 to be unused)
Run draw to open a client. Multiple clients can be run simultaneously
- Makefile
- Design.txt
- draw.c
- draw.h
- select.c
- select.h
openPaint contains some code referenced from online demos/tutorials:
GTK basic drawing mechanism: http://snipplr.com/view/57664/
Managing input using select() (we originally tried with a forking server and it did not turn out well): https://vidyakv.wordpress.com/2011/11/29/multi-client-chat-server-in-c/