![](https://secure.gravatar.com/avatar/9e2504e0b74e5384af09ce8a660afac4.jpg?s=120&d=mm&r=g)
14 Aug
2010
14 Aug
'10
2:47 a.m.
When calling remote-host on a closed socket, we get an unrelated type error (on ECL, about NIL not being a FIXNUM). By analogy to CL:CLOSE, I think it would be better if it returned the remote-host of the last connection, or either return NIL or a specific condition (which would be guaranted to be the same on all implementations). (let ((s (open "/etc/passwd"))) (close s) (pathname s)) --> #P"/etc/passwd" -- __Pascal Bourguignon__ http://www.informatimago.com/