PHP: Hypertext Preprocessor (original) (raw)

socket_wsaprotocol_info_import

(PHP 7 >= 7.3.0, PHP 8)

socket_wsaprotocol_info_import — Imports a Socket from another Process

Description

Note: This function is available only on Windows.

Return Values

Returns a Socket instance on success, or [false](reserved.constants.php#constant.false) on failure

Changelog

Version Description
8.0.0 On success, this function returns a Socket instance now; previously, a resource was returned.