array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.socket-wsaprotocol-info-import.php', 1 => 'socket_wsaprotocol_info_import', ), 'up' => array ( 0 => 'ref.sockets.php', 1 => 'Socket Functions', ), 'prev' => array ( 0 => 'function.socket-wsaprotocol-info-export.php', 1 => 'socket_wsaprotocol_info_export', ), 'next' => array ( 0 => 'function.socket-wsaprotocol-info-release.php', 1 => 'socket_wsaprotocol_info_release', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/sockets/functions/socket-wsaprotocol-info-import.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.3.0, PHP 8)
socket_wsaprotocol_info_import — Imports a Socket from another Process
Imports a socket which has formerly been exported from another process.
Note: This function is available only on Windows.
info_id
The ID which has been returned by a former call to socket_wsaprotocol_info_export().
Version | Description |
---|---|
8.0.0 | On success, this function returns a Socket instance now; previously, a resource was returned. |