adding a socket