Trying to create a reliable communication from server to client in python. the loss and delay of reception should be as low as possible. Here is my thought,