Created the active socket.