seems like exactly what i want. Not only will it wait until the sockets are open (perfect!), it gives me the data I need to use them. 🙂
mp
05/04/2018, 5:31 PM
Exposing port directly (via the cast from SocketAddress) works fine in my case but doesn’t fit if the hope is ot eventually support things like unix sockets.
mp
05/04/2018, 5:32 PM
Perhaps a sealed class of binding types for different engines might be appropriate? Or maybe YAGNI. Not sure if ktor is ever meant to support things beyond TCP, but it seems like it would be nice to not close the door on that
d
Deactivated User
05/04/2018, 5:37 PM
Yeah. Not sure. It is only a proposal. Sot sure about further plans on that
m
mp
05/04/2018, 5:38 PM
either way you’re 2 for 2 on creepily having already built the features I need 😉