Small bug fixed

WHEN was using keyword this to refer to the socket.