Skip to content

Commit

Permalink
Reuse address
Browse files Browse the repository at this point in the history
  • Loading branch information
SerVB committed Feb 6, 2020
1 parent 7bd0884 commit cf7f528
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ object Main {
@JvmStatic
fun main(vararg args: String) {
val server = ChatServer(DEFAULT_PORT).apply {
isReuseAddr = true

start()
}

Expand Down

0 comments on commit cf7f528

Please sign in to comment.