lan discovery almost done

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2021-12-21 00:10:14 +08:00
parent 5682b088de
commit d00352f4e4
9 changed files with 93 additions and 47 deletions

View File

@@ -4,9 +4,10 @@ package discovery;
import "base_proto.proto";
message Discovery {
base.PeerInfo peer = 1;
string id = 1;
base.PeerInfo peer = 2;
/// response port for current listening port(udp for now)
int32 port = 2;
int32 port = 3;
}
message DiscoveryBack {