package
0.0.0-20201104035856-6bfa45b01b2e
Repository: https://github.com/wondayer/tcpx.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

graceful-restart

step

go run main.go

cd client

go run client.go accept

after 10s go run client.go refused

after another 10s go run client.go accept

result

three client connections:

first connection is accepted.

second connection is refused because server has been graceful stopped.

third connection is accepted because server start again.