[Openmcl-devel] Error in error-message for ccl::make-tcp-socket for busy ports

Ron Garret ron at flownet.com
Tue Oct 20 02:07:03 UTC 2015


It works for me.

?  (CCL::MAKE-TCP-SOCKET :CONNECT :PASSIVE :LOCAL-PORT 9000 :LOCAL-HOST NIL :REUSE-ADDRESS T :FORMAT :BIVALENT :BACKLOG NIL :TYPE :STREAM)
> Error: Address already in use (error #48) during socket creation operation in bind

Which version of CCL are you using?

(And why did you cc genworks support?  Genworks has nothing to do with CCL.)

On Oct 19, 2015, at 6:48 PM, Dave Cooper <david.cooper at genworks.com> wrote:

> 
> Hi,
> 
> I mentioned this in the #ccl IRC channel but I realize that might be an annoying place for bug reports, especially at the end of the day EDT. 
> 
> It seems that a call like this: 
> 
>   (CCL::MAKE-TCP-SOCKET :CONNECT :PASSIVE :LOCAL-PORT 9000 :LOCAL-HOST NIL :REUSE-ADDRESS T :FORMAT :BIVALENT :BACKLOG NIL :TYPE :STREAM)
> 
> will generate an erroneous error message, if it's called when port 9000 is already being listened on by another server process. 
> 
> It currently gives:
> 
>   :SITUATION is an invalid initarg to INITIALIZE-INSTANCE for #<STANDARD-CLASS CCL:SOCKET-ERROR>.
> Valid initargs: (:STREAM :ACTION :CODE :IDENTIFIER).
> 
> It seems like it should give an error something like:
> 
>  "I'm sorry Dave, I'm afraid I can't start listening on that port right now, because somebody else already appears to be listening on it." 
> 
> 
> This can be replicated as follows:
> 
>   (ql:quickload :aserve)
>   (net.aserve:start :port 9000)
>   (CCL::MAKE-TCP-SOCKET :CONNECT :PASSIVE :LOCAL-PORT 9000 :LOCAL-HOST NIL :REUSE-ADDRESS T :FORMAT :BIVALENT :BACKLOG NIL :TYPE :STREAM)
> 
> 
> -- 
> My Best,
> 
> Dave Cooper
> genworks.com, gendl.org
> +1 248-330-2979
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20151019/360ab011/attachment.html>


More information about the Openmcl-devel mailing list