switched to python, sockets work