From cf4d25858f4969025835e23008818d94c6e23208 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 21 Jul 2003 08:41:44 +0000 Subject: [PATCH] r5358: *** empty log message *** --- kmrcl.asd | 6 +++--- sockets.lisp | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kmrcl.asd b/kmrcl.asd index 73c004c..39596fe 100644 --- a/kmrcl.asd +++ b/kmrcl.asd @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: kmrcl.asd,v 1.41 2003/07/21 00:52:56 kevin Exp $ +;;;; $Id: kmrcl.asd,v 1.42 2003/07/21 08:41:19 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -51,9 +51,9 @@ (:file "equal" :depends-on ("macros" #+kmr-mop "mop")) (:file "web-utils" :depends-on ("macros" "strings")) (:file "xml-utils" :depends-on ("macros")) - (:file "sockets" :depends-on ("macros")) + (:file "sockets" :depends-on ("strings")) (:file "processes" :depends-on ("macros")) - (:file "listener" :depends-on ("sockets" "processes")) + (:file "listener" :depends-on ("sockets" "processes" "console")) (:file "repl" :depends-on ("listener" "strings")) )) diff --git a/sockets.lisp b/sockets.lisp index f7c8408..0ab5d94 100644 --- a/sockets.lisp +++ b/sockets.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg with excerpts from portableaserve ;;;; Date Started: Jun 2003 ;;;; -;;;; $Id: sockets.lisp,v 1.5 2003/07/21 00:52:56 kevin Exp $ +;;;; $Id: sockets.lisp,v 1.6 2003/07/21 08:41:19 kevin Exp $ ;;;; ************************************************************************* (in-package #:kmrcl) @@ -127,13 +127,13 @@ setsockopt SO_REUSEADDR if :reuse is not nil" "Convert from dotted string to 32-bit integer." (declare (string dotted)) (if errorp - (let ((ll (string-tokens (substitute #\Space #\. dotted)))) + (let ((ll (delimited-string-to-list dotted #\.))) (+ (ash (first ll) 24) (ash (second ll) 16) (ash (third ll) 8) (fourth ll))) (ignore-errors - (let ((ll (string-tokens (substitute #\Space #\. dotted)))) - (+ (ash (first ll) 24) (ash (second ll) 16) - (ash (third ll) 8) (fourth ll)))))) + (let ((ll (delimited-string-to-list dotted #\.))) + (+ (ash (first ll) 24) (ash (second ll) 16) + (ash (third ll) 8) (fourth ll)))))) #+sbcl (defun ipaddr-to-hostname (ipaddr &key ignore-cache) -- 2.34.1