stream_socket_get_name
symfony/var-dumper
Supported Versions: PHP 5, PHP 7, PHP 8
Retrieve the name of the local or remote sockets
<?php stream_socket_get_name
(
resource $socket
,
bool $remote
):
string
|
false