Sockets now functioning properly