ACL sockets
From: Vladimir Zolotykh (gsmith_at_eurocom.od.ua)
Date: 07/24/04
- Next message: RobertMaas_at_YahooGroups.Com: "Re: decode-float vs integer-decode-float"
- Previous message: quasi: "Re: Salaries for Lisp engineers"
- Next in thread: Karsten Poeck: "Re: ACL sockets"
- Reply: Karsten Poeck: "Re: ACL sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 24 Jul 2004 19:03:04 +0300
Hi,
Could you help me please? Two questions about ACL sockets (ACL 6.2)
After a number of successful attempts I've found myself in a situation
when I can't create a socket anymore. Something went wrong and I don't
know what.
sock3(236): (socket:make-socket :connect :passive :local-port 9999
:reuse-address t)
Error: "Local socket address already in use" (errno 98) occured while
creating a passive socket.
[condition type: socket-error]
# netstat -nap | grep 9999
tcp 0 0 0.0.0.0:9999 0.0.0.0:*
LISTEN 850/mlisp
tcp 16 0 127.0.0.1:9999 127.0.0.1:38465
CLOSE_WAIT -
#
I had only one mlisp process at the time. So it is definitely he (it) who
"hold" the socket.
Is it still possible to bring mlisp "to his senses" concerning this
socket (port 9999) or the only way is to kill it? Why such a situation
might have happened?
Another question if you don't mind.
I have two examples of the server listening on a socket and responding to
the coming from it requests. On written in C another in CL (ACL). The only
significant difference in their basic functionality is that I had to put
(force-output sock)
in ACL version after sending response to the client. Without this
client never saw the answer. Can I tune ACL socket to behave like a C
one? (something with socket-control or maybe set-socket-options)?
Thanks in advance
-- Vladimir Zolotykh
- Next message: RobertMaas_at_YahooGroups.Com: "Re: decode-float vs integer-decode-float"
- Previous message: quasi: "Re: Salaries for Lisp engineers"
- Next in thread: Karsten Poeck: "Re: ACL sockets"
- Reply: Karsten Poeck: "Re: ACL sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|