How do I reuse a previously-opened port, using SBCL's sockets?
Posted
by esperantist
on Stack Overflow
See other posts from Stack Overflow
or by esperantist
Published on 2010-04-06T19:15:55Z
Indexed on
2010/04/06
19:43 UTC
Read the original article
Hit count: 297
Creating a server-side socket will fail if I'm trying to use the same port I've used before. An address-in-use error occurs.
(make-instance 'sb-bsd-sockets:inet-socket :type :stream :protocol :tcp)
How do I stop this from happening?
Hints and code snippets very welcome! (CL newbie here.)
Thanks!
© Stack Overflow or respective owner