Query: stream_get_transports
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STREAM_GET_TRANSPORTS(3) 1 STREAM_GET_TRANSPORTS(3) stream_get_transports - Retrieve list of registered socket transportsSYNOPSISarray stream_get_transports (void )DESCRIPTIONReturns an indexed array containing the name of all socket transports available on the running system.RETURN VALUESReturns an indexed array of socket transports names.EXAMPLESExample #1 Using stream_get_transports(3) <?php $xportlist = stream_get_transports(); print_r($xportlist); ?> The above example will output something similar to: Array ( [0] => tcp [1] => udp [2] => unix [3] => udg )SEE ALSOstream_get_filters(3), stream_get_wrappers(3). PHP Documentation Group STREAM_GET_TRANSPORTS(3)