Skip to content
Snippets Groups Projects
Commit ad27cabb authored by Hang's avatar Hang
Browse files

fast push

parent 1ad1961d
No related branches found
No related tags found
1 merge request!10MP3 Log Version Ready
......@@ -53,7 +53,7 @@ def bind():
def send_operation(operation_str, socket):
msg = operation_str.encode(ENCODING_FORMAT)
msg = operation_str.upper().encode(ENCODING_FORMAT) # todo: upper case
msg_length = len(msg)
# send_length = str(msg_length).encode(ENCODING_FORMAT)
msg += b' ' * (MSG_LENGTH - msg_length)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment