This is a socket programming example, a simple server that replies current time to connected client.
You can click Download ZIP
to download a zip file directly
- Install Git on your system
- Open command prompt
- Input
git clone https://github.com/HSNL-TAs/2016-ITCN-simple-time.git
# compile
$ gcc server.c -o server
# execute
$ ./server
Open another termial.
# compile
$ gcc client.c -o client
# execute
$ ./client
Please modify this project to an Echo Server
- Client: User can send message to server.
- Server: Server will echo the received message back to connected client.
Please also uplaod your code and a screenshot of your result to ilms system.
( Package them as .zip
format and name after your student ID)
Deadline: 2016/11/6 23:59 (Sun.)
Please feel free to ask qustions at
- Here, or
- On the iLms forum, or
- Come at Office Hour (15:30 ~ 17:20 on Wednesday, 綜二 705)