Simulate-socket-work When you don't understand how sockets work, you can use this code to solve your trouble. This is file-based socket work simulation. General info: Designed to run in Linux How to use: Run at first env_new.py Then run host1.py and host2.py Follow the instructions