socket_wsaprotocol_info_import
(PHP 7 >= 7.3.0, PHP 8)
socket_wsaprotocol_info_import — Imports a Socket from another Process
Beschreibung
Imports a socket which has formerly been exported from another process.
Hinweis: This function is available only on Windows.
Parameter-Liste
-
info_id -
The ID which has been returned by a former call to socket_wsaprotocol_info_export().
Rückgabewerte
Returns a Socket instance on success, Bei einem Fehler wird false zurückgegeben.
Changelog
| Version | Beschreibung |
|---|---|
| 8.0.0 | On success, this function returns a Socket instance now; previously, a resource was returned. |
Siehe auch
- socket_wsaprotocol_info_export() - Exports the WSAPROTOCOL_INFO Structure

