Edit: trsock.py