← All docs

stream_socket_client()

Open Internet or Unix domain socket connection.

stream_socket_client()

function stream_socket_client(string $address): mixed

Open Internet or Unix domain socket connection.

Parameters:

  • $address (string)

Returns: mixed

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how stream_socket_client is implemented in the compiler, see the internals page.