0

Python Socket Error

I'm using Python socket to make a web server on Windows and Linux But whenever I stop listening by pressing Ctrl+c or by closing terminal or CMD then I encountered a Error of "address already in use" only in Linux not in Windows why this is happening? I found solution of this by address reusability but why this happening in Linux not in Windows?

29th Sep 2020, 8:14 AM
🌀 Shail Murtaza ŰŽŰčیل Ù…Ű±ŰȘŰ¶ÛŒÙ°
🌀 Shail Murtaza ŰŽŰčیل Ù…Ű±ŰȘŰ¶ÛŒÙ° - avatar
2 Answers
0
You just gotta give it a few seconds and then try again. It says that because it was in use. It may need a few tries
29th Sep 2020, 8:41 AM
Slick
Slick - avatar
0
Mine question is why this is only happening in only Linux and it works after few minutes
29th Sep 2020, 11:25 AM
🌀 Shail Murtaza ŰŽŰčیل Ù…Ű±ŰȘŰ¶ÛŒÙ°
🌀 Shail Murtaza ŰŽŰčیل Ù…Ű±ŰȘŰ¶ÛŒÙ° - avatar