putting sockets in