I am current facing a very strange issue.
am using a pyton client send to UE livelink, sometimes it work, sometims it not.
handshake = {
"HANDSHAKE": {
"version": "1.2.5",
"userName": "iPhone2Python",
"sessionUUID": "8EF5BA6A-A73E-419A-9BDC-7E18759C180C",
"deviceName": "iPhone13,4",
},
"version": "1.2.5",
"userName": "iPhone2Python"
}
show_my_ip()
connections = {}
socket_conn = SocketConn("127.0.0.1", port=8080)
socket_conn.send_json_encoded(json.dumps(handshake, ensure_ascii=False).encode("utf-8"))
def send_json_encoded(self, data):
# self.s.sendall(bytes(str(data), encoding="utf-8"))
self.s.sendall(data)
this is my sending python script, it was so simple, to send a dict, which dumped to json string and encoded.
Then on UE side:
Am so confised, why it deserial error?
What make me crazy is that ,this is not 100% wrong, sometimes it can work…
Why Livelink receive data from UDP doesn’t always correct
???