The Python Oracle

python TCPServer address already in use but I close the server and I use `allow_reuse_address`

This video explains
python TCPServer address already in use but I close the server and I use `allow_reuse_address`

--

Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Techno Intrigue Looping

--

Chapters
00:00 Question
01:05 Accepted answer (Score 29)
01:34 Answer 2 (Score 13)
03:28 Answer 3 (Score 3)
04:18 Answer 4 (Score 0)
04:39 Thank you

--

Full question
https://stackoverflow.com/questions/1526...

Answer 1 links:
[TIME_WAIT]: https://en.wikipedia.org/wiki/Transmissi...
[this other answer]: https://stackoverflow.com/a/15278302/905...

Answer 2 links:
[TIME_WAIT]: http://dev.fyicenter.com/Interview-Quest...
[Somebody discovered this exact problem.]: http://brokenbad.com/2012/01/address-reu.../

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #tcp #port #bind

#avk47