Ad hoc retrieval of capability information

An Open Server application can call srv_capability_info from within any handler at any time to retrieve a list of capabilities in effect for that particular client connection. In a SRV_CONNECT event handler, however, the capability masks retrieved are not the final masks for the connection. Rather, they are the client’s requested capabilities combined with the Open Server application’s defaults. Connection capabilities are not final until the SRV_CONNECT handler has returned.