https://kotlinlang.org logo
#ktor
Title
# ktor
p

Paul Woitaschek

12/04/2020, 9:15 AM
Am I correct that ktor sockets can not be used on ios? https://ktor.io/docs/servers-raw-sockets.html#client These examples show a
Copy code
ActorSelectorManager
which I can only find on the jvm
o

Oleg Yukhnevich

12/04/2020, 9:50 AM
Just use
SelectorManager
constructor function
on iOS it will use internal
WorkerSelectorManager
p

Paul Woitaschek

12/04/2020, 9:52 AM
@Kai Limadjaja
👀 1
@Oleg Yukhnevich It's marked as io.ktor.util.InternalAPI
o

Oleg Yukhnevich

12/04/2020, 10:31 AM
yeap 🙂 it's less internal that
internal
keyword on the
WorkerSelectorManager
that's the only way for now, to work with sockets on Native
4 Views