-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
18 lines (11 loc) · 683 Bytes
/
README
File metadata and controls
18 lines (11 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
lab1b-server.c: This implements the server in C using TCP sockets and using
shell pipes to forward client input to the shell which is then run using
/bin/bash which is loaded in using execvp.
Used zlib for compression.
Used Sockets for TCP networking and communication.
Sources used:
- unix socket client: https://www.tutorialspoint.com/unix_sockets/socket_client_example.htm
- unix server client: https://www.tutorialspoint.com/unix_sockets/socket_server_example.htm
-zlib: manual page, https://www.zlib.net/zlib_how.html
-zlib style guide: https://gist.github.com/arq5x/5315739
-High level idea of client-server: http://www.steves-internet-guide.com/tcpip-ports-sockets/