how to close connection associated with a $conn->resourceID ?
Hi,
I have a one to one chat application.
When a member A sends chat message to another member B, I will check the last time B was active.
If B is inactive, I want to close the connection of B.
I have the  $conn->resourceID number of B.

How to close B  $conn

Please suggest.
Thanks