socket_import_stream
spatie/fork
Supported Versions: PHP 5 >= 5.4.0, PHP 7, PHP 8
Import a stream
<?php socket_import_stream
(
resource $stream
):
Socket
|
false