Close UDP connection when listen port changes
This commit is contained in:
parent
2ed9dac3a5
commit
c3d9ae402d
2 changed files with 14 additions and 23 deletions
|
|
@ -7,12 +7,6 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
/* TODO:
|
||||
* This code can be improved by using fsnotify once:
|
||||
* https://github.com/fsnotify/fsnotify/pull/205
|
||||
* Is merged
|
||||
*/
|
||||
|
||||
type UAPIListener struct {
|
||||
listener net.Listener // unix socket listener
|
||||
connNew chan net.Conn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue