Use stream_socket_pair() to Create a Pair of Connected Sockets

Use stream_socket_pair() to Create a Pair of Connected Sockets

The stream_socket_pair() function creates a pair of connected, indistinguishable socket streams. This is useful for inter-process communication.

← Back to Tips List