Returns an indexed array containing the name of all socket transports available on the running system.
$xportlist = stream_get_transports();
Output will be similar to the following. Note: there may be more or fewer transports in your version of PHP.
 => tcp
 => udp
 => unix
 => udg