This procedure contacts the ident server on the machine which is the peer of the given socket. If a recognizable ident response is returned, the response type and additional info are returned as two values.
(define svc (make-service (inet-server 5050)))
(remote-port-owner (get-next-client svc)) "USERID" "UNIX : dkolbly"
If the peer host is not running an ident server, this procedure signals an error (an <os-error>, "Connection refused").