stream_socket_pair

PHP 5 >= 5.1.0, PHP 7, PHP 8
stream_socket_pair - Creates a pair of connected, indistinguishable socket streams
Manual
Code Examples

Example #1 A stream_socket_pair example

Result: child PID: 1378 message from child
PHP Version:


Function stream_socket_pair:

Streams Functions

Most used PHP functions