aboutsummaryrefslogtreecommitdiff

TCP toy project

# ./server 
./server: accepting connections on port 1234
./server: will save files under `/var/tmp'
./server: received 1165 of `fstab'
# ./client localhost:1234 /etc/fstab
./client: connecting to host localhost, port 1234
./client: sending `/etc/fstab'
./client: sent 1165 bytes of `/etc/fstab'