Create socket.py