$Web Protocol: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:$Web_Protocol}} <span class="pageSubtitle"><section begin="desc" />Get security protocol being used for a request<section end="desc" /></span> $Web_Protocol ret...")
 
m (1 revision)
(No difference)

Revision as of 21:38, 21 February 2011

<section begin="desc" />Get security protocol being used for a request<section end="desc" />


$Web_Protocol returns an indicator of the network security protocol, if any, being used for a connection. SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are the protocols supported by Janus. The SSLPROT parameter of the JANUS DEFINE command for this server stipulates the specific protocols available for this port. The server and its clients negotiate the security protocol that their connection will use.

Syntax

<section begin="syntax" /> %RC = $Web_Protocol <section end="syntax" />


$Web_Protocol takes no arguments and returns a status code.

Code Meaning
0 Not on a secure port, or not a Web Server thread.
1 Web Server thread running on a secure port using SSL, V2.
2 Web Server thread running on a secure port using SSL, V3.
4 Web Server thread running on a secure port using TLS, V1.

$WEB_PROTOCOL return codes