[usocket-cvs] r156 - usocket/trunk/backend
ehuelsmann at common-lisp.net
ehuelsmann at common-lisp.net
Tue Jan 16 20:55:55 UTC 2007
Author: ehuelsmann
Date: Tue Jan 16 15:55:53 2007
New Revision: 156
Modified:
usocket/trunk/backend/lispworks.lisp
Log:
Add missing function get-hosts-by-name (LispWorks).
Modified: usocket/trunk/backend/lispworks.lisp
==============================================================================
--- usocket/trunk/backend/lispworks.lisp (original)
+++ usocket/trunk/backend/lispworks.lisp Tue Jan 16 15:55:53 2007
@@ -108,3 +108,7 @@
(defmethod get-peer-port ((usocket usocket))
(nth-value 1 (get-peer-name usocket)))
+
+(defun get-hosts-by-name (name)
+ (with-mapped-conditions ()
+ (comm:get-host-entry name :fields '(:addresses))))
More information about the usocket-cvs
mailing list