stream_socket_pair
PHP 5 >= 5.1.0, PHP 7, PHP 8
stream_socket_pair - Creates a pair of connected, indistinguishable socket streams
Code Examples
Example #1 A stream_socket_pair example
Result: child PID: 1378
message from child