networking.py improvement