3.3.4.21 Server Application Requests Transport Binding Change

The application provides:

  • TransportName: A string containing an implementation-specific name of the transport.

  • ServerName: An optional string containing the name of the server to be used for binding the transport.

  • EnableFlag: A Boolean flag indicating whether to enable or disable the transport.

The server MUST use implementation-specific<242> means to determine whether TransportName is an eligible transport entry as specified in section 2.1, and if not, the server MUST return ERROR_NOT_SUPPORTED to the caller.

If EnableFlag is TRUE, the server SHOULD obtain binding information for the transport from the appropriate standards assignments as specified in section 1.9 and ServerName <243>and MUST attempt to start listening on the requested transport endpoint.

If EnableFlag is FALSE, the server MUST attempt to stop listening on the transport indicated by TransportName.

If the attempt to start or stop listening on the transport succeeds, the server MUST return STATUS_SUCCESS to the caller. Otherwise, it MUST return an implementation-dependent error.