<flip214>
when swank starts to listen, SETUP-SERVER calls an announce function and passed the TCP port in - but not the address it is listening on.
<flip214>
This makes a difference when ::1 is bound but the client tries to reach 127.1 ...
<flip214>
so a) should the announce function receive the TCP address as well (requiring either new functions or a second return value to LOCAL-PORT)
<flip214>
or b) should we communicate it via a special
<flip214>
or c) should the client "just" test both? what if it tries a.b.c.d, but ::anything would be correct?
<flip214>
I guess a) would be the best solution, but I'd like to hear some feedback.
<flip214>
d) CREATE-SERVER could accept an ANNOUNCE-FN argument (like SETUP-SERVER) that I could use - SETUP-S doesn't take an INTERFACE argument any more
adlai has joined #slime
nullcone has joined #slime
edgar-rft has joined #slime
<luis>
a) sounds sensible.
<luis>
Not sure why you it would require new functions or new return values rather than an extra argument to the announce function
<luis>
although, create-server / setup-server will listen on the address that you explicitly asked, won't it?
<luis>
So you should know that a priori.
nullcone has quit [Quit: Connection closed for inactivity]
<flip214>
luis: well, passing an address means knowing whether there _is_ a ::1 or 127.0.0.1.
nullcone has joined #slime
frgo has quit []
frgo has joined #slime
cage_ has quit [Remote host closed the connection]
frgo_ has joined #slime
frgo has quit [Ping timeout: 260 seconds]
SpaceIgor2075 has joined #slime
catalinbostan has quit [Ping timeout: 246 seconds]
SpaceIgor2075 has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 256 seconds]
makomo has quit [Ping timeout: 256 seconds]
OlCe has joined #slime
<luis>
flip214: hmm, the default for *loopback-interface* is "localhost", if the client uses the same approach shouldn't it get the same result? In any case, having the announce receive the address too seems sensible.
scymtym has joined #slime
scymtym has quit [Remote host closed the connection]
frgo_ has quit [Read error: Connection reset by peer]