Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- socket.connect(f"tcp://{ip}:35436") #51.75.27.102
- liste = []
- socket.send_string("*SCPREQUEST*123*")
- while True:
- print("receiving strings")
- y = socket.recv_string()
- socket.send_string("SEND")
- print(y)
- liste.append(y)
- if y == ("*END*"):
- break
- print(liste)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement