<rixed>
I used to grep in my opam build dir when it comes to mirageos :)
<yomimono>
:)
<rixed>
s it possible to Stack.listen first, then attach (several) tcpv4 callbacks with listen_tcpv4 on the same stack we have started a listener earlier?
<rixed>
(sorry haven't read code nor doc, trying to hack a mirageos version of some service in a hurry :))
<yomimono>
yes, it should work -- the set of listeners in stackv4 is mutable
<yomimono>
when a packet comes in, stack.listen consults the current hashtable
<yomimono>
so changes that you make should be reflected
<yomimono>
(but note that it's a hashtable replacement, so you can't set multiple listeners per port)
<rixed>
yomimono: yep this I was expecting. Thank you again.
<yomimono>
rixed: no problem! :) let us know if what you're lashing up is public. always want to see more running out there.
<rixed>
yomimono: will do. it will be public if it works.
brson has joined #mirage
dexterph has quit [Ping timeout: 244 seconds]
yomimono has quit [Ping timeout: 258 seconds]
yomimono has joined #mirage
yomimono has quit [Ping timeout: 276 seconds]
dexterph has joined #mirage
copy` has quit [Quit: Connection closed for inactivity]