| chatdialog.cpp |
|
3199 |
- |
| chatdialog.h |
|
682 |
- |
| chatdialog.ui |
|
1803 |
- |
| client.cpp |
socketError |
2748 |
- |
| client.h |
|
979 |
- |
| CMakeLists.txt |
|
1076 |
- |
| connection.cpp |
Protocol is defined as follows, using the CBOR Data Definition Language:
protocol = [
greeting, ; must start with a greeting command
* command ; zero or more regular commands after
]
command = plaintext / ping / pong / greeting
plaintext = { 0 => text }
ping = { 1 => null }
pong = { 2 => null }
greeting = { 3 => { text, bytes } }
|
6861 |
- |
| connection.h |
|
1789 |
- |
| main.cpp |
|
309 |
- |
| network-chat.pro |
|
581 |
- |
| peermanager.cpp |
|
4677 |
- |
| peermanager.h |
|
1020 |
- |
| server.cpp |
|
417 |
- |
| server.h |
|
439 |
- |