mirror of https://github.com/YGGverse/pymaster.git
a1batross
2 years ago
1 changed files with 7 additions and 8 deletions
@ -1,15 +1,14 @@ |
|||||||
class MasterProtocol: |
class MasterProtocol: |
||||||
|
|
||||||
# Client To Master |
# Client To Master |
||||||
clientQuery = '1' |
clientQuery = b'1' |
||||||
|
|
||||||
# Server To Master |
# Server To Master |
||||||
challengeRequest = 'q' |
challengeRequest = b'q\xFF' |
||||||
addServer = '0' |
addServer = b'0\n' |
||||||
removeServer = 'b' |
removeServer = b'\x62\x0A' |
||||||
|
|
||||||
# Master To Client |
# Master To Client |
||||||
queryPacketHeader = b'\xff\xff\xff\xff\x66\x0a' |
queryPacketHeader = b'\xff\xff\xff\xff\x66\x0a' |
||||||
|
|
||||||
# Master To Server |
# Master To Server |
||||||
challengePacketHeader = b'\xff\xff\xff\xff\x73\x0a' |
challengePacketHeader = b'\xff\xff\xff\xff\x73\x0a' |
||||||
|
Loading…
Reference in new issue