PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

stream_get_wrappers> <stream_get_meta_data
Last updated: Fri, 22 Aug 2008

view this page in

stream_get_transports

(PHP 5)

stream_get_transportsRecuperar la lista de transportes de socket registrados

Descripción

array stream_get_transports ( void )

Devuelve una matriz indexada que contiene los nombres de todos los transportes de socket disponibles en el sistema actual.

Example #1 Uso de stream_get_transports()

<?php
$lista 
stream_get_transports();
print_r($lista);
?>

La salida será similar a la siguiente. Nota: pueden haber más o menos transportes en su versión de PHP.

Array (
  [0] => tcp
  [1] => udp
  [2] => unix
  [3] => udg
)

Vea también stream_get_filters(), y stream_get_wrappers().



add a note add a note User Contributed Notes
stream_get_transports
abschipriota-varios0001 at yahoo dot com dot mx
24-Apr-2008 02:48
If you can't get the ssl protocol as a registered transport protocol even though you has add the extension=php_openssl.dll line on php.ini, maybe you haven't the libeay32.dll and / or ssleay32.dll files on your installation or in system32 folder.

stream_get_wrappers> <stream_get_meta_data
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites