PICloud change protocol > server_uuid
This commit is contained in:
@@ -101,7 +101,7 @@ void DispatcherClient::readed(PIByteArray & ba) {
|
||||
switch (hdr.first) {
|
||||
case PICloud::TCP::Connect: {
|
||||
tcp.setRole(hdr.second);
|
||||
PIString sn = tcp.parseConnect_d(ba);
|
||||
PIByteArray sn = tcp.parseConnect_d(ba);
|
||||
if (hdr.second == PICloud::TCP::Server) registerServer(sn, this);
|
||||
if (hdr.second == PICloud::TCP::Client) registerClient(sn, this);
|
||||
return;}
|
||||
|
||||
Reference in New Issue
Block a user