I try to receive messages from python with socket. My client is code in java.
I wrote code to try get all data that sent from python (just to understand how it works)