Php/docs/function.socket-wsaprotocol-info-import

来自菜鸟教程
跳转至:导航、​搜索

socket_wsaprotocol_info_import

(PHP 7 >= 7.3.0)

socket_wsaprotocol_info_importImports a Socket from another Process


说明

socket_wsaprotocol_info_import ( string $info_id ) : resource|false

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().


返回值

Returns the socket resource, 或者在失败时返回 false


参见