message-io 0.4.0

Easy asynchronous network message library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# TCP client and server example
This example allows to create a *star network topology* using a server and several clients by TCP.

## Test it!
Launch the server in a terminal:
```
cargo run --example tcp server
```

Run a client with a name (one client per terminal):
```
cargo run --example tcp client <name>
```

Note: You can play the disconnections/reconnections using `ctrl-c` over the clients.