socket_recv
spatie/fork
Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Receives data from a connected socket
<?php socket_recv
(
Socket $socket
,
?
string
&
$data
,
int $length
,
int $flags
):
int
|
false