blob: 298fc4e065131a8adc3765a8ea2396ac50f56d10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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'
```
|