Instead of sending one @-separated message, send one CBOR message. The
message structure is, using the CBOR Data Definition Language:
broadcast = [
username: tstr,
port: 0..65535
]
Change-Id: Ic38ec929fc3f4bb795dafffd150ac2614d18c6bf
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
||
|---|---|---|
| .. | ||
| chatdialog.cpp | ||
| chatdialog.h | ||
| chatdialog.ui | ||
| client.cpp | ||
| client.h | ||
| connection.cpp | ||
| connection.h | ||
| main.cpp | ||
| network-chat.pro | ||
| peermanager.cpp | ||
| peermanager.h | ||
| server.cpp | ||
| server.h | ||