Join Slack
how do i stop a ServerSocket from listening so other applications can listen on the same port? i tri...
# 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
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by