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

LastExceed

09/11/2020, 12:54 PM
how do i stop a ServerSocket from listening so other applications can listen on the same port? i tried
.close()
and
.dipose()
but the port is still in use afterwards
s

spand

09/11/2020, 1:02 PM
Try reading up on so_linger and why the port is not released immediately
2 Views