다음을 통해 공유


3.3.7.2 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 3.3.4.8, 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 3.1.6.16 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.