Hey! Is there a way to make a TCP listener with ko...
# announcements
h
Hey! Is there a way to make a TCP listener with kotlin native?
o
You can take a look on ktor-network module f.e. It's still experimental, as I understand, but usable rsocket-kotlin uses it, and if to understand some 'internal' magic of K/N - it works ok
h
That looks like only JVM and Js :( idk if I am missing something though
o
it’s only JVM and K/N
btw, it didn’t support K/N windows targets now
h
Really? I couldn't see any K/N
Where abouts in the ktor-network project is the K/N code?
o
docs: https://ktor.io/docs/servers-raw-sockets.html - Note; K/N support a little less 🙂 code: https://github.com/ktorio/ktor/tree/main/ktor-network under
posix
is K/N implementation