stream_socket_pair
Intervention/image
Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Creates a pair of connected, indistinguishable socket streams
<?php stream_socket_pair
(
int $domain
,
int $type
,
int $protocol
): array|
false