Using a socket with status feedback