Dazai
09/22/2021, 4:45 PMade
09/22/2021, 5:47 PMDazai
09/22/2021, 6:44 PMAleksei Tirman [JB]
09/22/2021, 7:12 PMwhile(true)
loops in your case because you need to process clients and read data from them indefinitely. Have a look at the example in the documentation.Dazai
09/22/2021, 7:14 PMAleksei Tirman [JB]
09/22/2021, 7:16 PMlaunch
for each of them but don't have to specify <http://Dispatchers.IO|Dispatchers.IO>
if the parent coroutine already has that dispatcher.