socket_create_pair
reactphp/socket
Supported Versions: PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
Creates a pair of indistinguishable sockets and stores them in an array
<?php socket_create_pair
(
int $domain
,
int $type
,
int $protocol
,
array
&
$pair
):
bool