socket_create_pair

PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
socket_create_pair - Creates a pair of indistinguishable sockets and stores them in an array
Manual
Code Examples

Example #1 socket_create_pair example

PHP Version:

Example #2 socket_create_pair IPC example

PHP Version: