略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: socket_wsaprotocol_info_import

2024-12-22

socket_wsaprotocol_info_import

(PHP 7 >= 7.3.0, PHP 8)

socket_wsaprotocol_info_importImports a Socket from another Process

说明

socket_wsaprotocol_info_import(string $info_id): Socket|false

Imports a socket which has formerly been exported from another process.

注意: 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 a Socket instance on success, 或者在失败时返回 false

更新日志

版本 说明
8.0.0 On success, this function returns a Socket instance now; previously, a resource was returned.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.socket-wsaprotocol-info-import.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3