If you create a tcpListener object in order to be a host... how do you accurately determine if a connected client has disconneccted from the connection?

I tried using the socket.Connected variable that the tcpListener is wrapped around to determine this, but even if i disconnect my client it still says socket.Connected = True. Am i doing something wrong?