Browse Source

update file

lyon 3 years ago
parent
commit
2bb3b2fa4d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/socket/socket_thread.py

+ 2 - 0
examples/socket/socket_thread.py

@@ -6,6 +6,7 @@ import time
 test_finished = False
 server_started = False
 
+
 def socket_server_task(host, port):
     """
     socket 服务器任务
@@ -48,6 +49,7 @@ def socket_client_task(host, port):
     print("client recv:", recv)
     client.close()
 
+
 def socket_server_test(host='0.0.0.0', port=36500):
     _thread.start_new_thread(socket_client_task, (host, port))