https://kotlinlang.org logo
Title
j

Joakim Forslund

12/21/2021, 8:21 AM
https://github.com/ktorio/ktor/tree/main/ktor-network <- Is there a specific reason why mingw is not among the targets (specifically for using raw sockets?)
a

Aleksei Tirman [JB]

12/21/2021, 9:45 AM
@e5l
e

e5l

12/21/2021, 9:46 AM
Hey @Joakim Forslund, there are no socket implementation for mingw. btw PRs are always welcome 🙂
j

Joakim Forslund

12/21/2021, 9:48 AM
Thanks for letting me know @e5l I have previously created a toy project for letting you use sockets for multiplatform, https://github.com/Syrou/LibSocket/blob/master/src/mingwMain/kotlin/sample/LibSokketClient.kt and as far as I can tell, the only real thing missing is the use of WSA, other than that it should not be that much of a big hussle
e

e5l

12/21/2021, 9:48 AM
We also need a selector implementation