stream_socket_get_name()
function stream_socket_get_name(resource $socket, bool $remote): mixed
Retrieve the name of the local or remote sockets.
Parameters:
$socket(resource)$remote(bool)
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how stream_socket_get_name is implemented in the compiler, see the internals page.