Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

deleted 11 characters in body
Source Link
ForceBru
  • 45k
  • 10
  • 72
  • 104

Use socket.settimeout()socket.settimeout() before you perform a blocking operation to control its timeout. So in your case it sounds like you don't want a timeout for connect(), but one for recv(). – Lukas Graf

Use socket.settimeout() before you perform a blocking operation to control its timeout. So in your case it sounds like you don't want a timeout for connect(), but one for recv(). – Lukas Graf

Use socket.settimeout() before you perform a blocking operation to control its timeout. So in your case it sounds like you don't want a timeout for connect(), but one for recv().

Source Link
Armali
  • 19.6k
  • 15
  • 64
  • 185

Use socket.settimeout() before you perform a blocking operation to control its timeout. So in your case it sounds like you don't want a timeout for connect(), but one for recv(). – Lukas Graf

Post Made Community Wiki by Armali
lang-py

AltStyle によって変換されたページ (->オリジナル) /