5.24
This commit is contained in:
13
lane_server/client_test.py
Normal file
13
lane_server/client_test.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import zmq
|
||||
|
||||
context = zmq.Context()
|
||||
socket = context.socket(zmq.REQ)
|
||||
socket.connect("tcp://localhost:6666")
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('zmq client start....')
|
||||
while True:
|
||||
# str1 = input(":")
|
||||
socket.send_string('')
|
||||
message = socket.recv_pyobj()
|
||||
print(message)
|
||||
Reference in New Issue
Block a user