I have a problem using sockets and pickle. I have a server send the same message to client in a hostname called for example server1. If I connected a client in the same machine I don't have any problem. But if I connect other machine remotely to this hostname, I have this problem when do
msg = sock.recv(16384)
tick_dict = pickle.loads(msg)
data_handler.update_dataframes(tick_dict)
I have ran simultaneously several localhost clients without problems, but if is remotely sometines I get the error: "_pickle.UnpicklingError: pickle data was truncated"
I have check the size message and never is bigger than 16384 bytes. What is happening?
Thanks!!