PHP 8.4.2 Released!

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 note

User Contributed Notes

There are no user contributed notes for this page.
To Top