Server Disconnects a Connection

The caller provides a Connection to be disconnected. The server MUST perform the following processing:

  • The server MUST close the associated transport connection.<355>

  • For each Session in Connection.SessionTable, the server MUST close the session as specified in section, providing Session.SessionGlobalId as the input parameter.

  • For each SearchOpen entry in Connection.SearchOpenTable, the server MUST remove the SearchOpen entry from the Connection.SearchOpenTable and MUST free the SearchOpen.

  • The server MUST invoke the event specified in [MS-SRVS] section to update the connection count by providing the tuple <Connection.TransportName, FALSE>.

  • The Connection object MUST be removed from Server.ConnectionTable and MUST be freed.