socket-local-address

[procedure] socket-local-address socket

STk, STklos: returns a string that contains the IP address of the locak host attached to socket. See also make-client-socket, make-server-socket, socket-host-name, socket-host-address.

Gauche has socket-address?, similar but returns an address object.