Swoole\Client::getsockname
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Get the local socket name of the connection.
Description
Swoole\Client::getsockname(): array
Parameters Parameters
Return Values
The host and port of the local socket.