Browse Source

reset protocol values to pymaster.py implementation

v2 0.0.1
ghost 11 months ago
parent
commit
c6610ecdaa
  1. 9
      protocol.py

9
protocol.py

@ -1,11 +1,12 @@
class MasterProtocol: class MasterProtocol:
# Client To Master # Client To Master
clientQuery = b'1' clientQuery = '1'
# Server To Master # Server To Master
challengeRequest = b'q\xFF' challengeRequest = 'q'
addServer = b'0\n' addServer = '0'
removeServer = b'\x62\x0A' removeServer = 'b'
# Master To Client # Master To Client
queryPacketHeader = b'\xff\xff\xff\xff\x66\x0a' queryPacketHeader = b'\xff\xff\xff\xff\x66\x0a'

Loading…
Cancel
Save