Change the socket connection to include the following flags:
ReuseAddr => 1, ReusePort => 1,
This sets SO_REUSEADDR and SO_REUSEPORT before binding so the connection should be released immediately. Note on win32 you probably can't use ReusePort as SO_REUSEPORT is not defined.
cheers
tachyon
In reply to Re: Re: Re: Re: Re: Re: Re: Remote TCP Port Connection Monitoring
by tachyon
in thread Remote TCP Port Connection Monitoring
by w3ntp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |