Appendix J. List of Supported Socket Transports
The following is a list of the various URL style socket transports that PHP has built-in for use with the streams based socket functions such as fsockopen(), and stream_socket_client(). These transports do not apply to the Sockets Extension. For a list of transports installed in your version of PHP use stream_get_transports(). Internet Domain: TCP, UDP, SSL, and TLSPHP 3, PHP 4. ssl:// & tls:// since PHP 4.3
Internet Domain sockets expect a port number in addition to a target address. In the case of fsockopen() this is specified in a second parameter and therefore does not impact the formatting of transport url. With stream_socket_client() and related functions as with traditional URLs however, the port number is speicified as a suffix of the transport URL delimited by a colon.
The ssl:// and tls:// transports (available only when openssl support is compiled into PHP) are extensions of the tcp:// transport which includes SSL encryption. Since PHP 4.3.0 OpenSSL support must be statically compiled into PHP, since PHP 5.0.0 it may be compiled as a module or statically.
Table J-1. Context options for ssl:// and tls:// transports (since PHP 4.3.2)
|
Ecommerce shopping carts Events management projects Affiliates systems Large sized web projects Real estate and vacation rental projects Asp.net and c# projects |
|||||||||||||||||||||||||||||||||
|
Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 the PHP Documentation Group. Web design and webdevelopment and programming done by Software developers and web programmers
Web Design Copyright © 1999-2007. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |