1

I am trying to do a port test using the python socket library.

The object uses connect_ex((ip,port)), and the result is immediately

displayed in case of success but waits for about 2 minutes in case of failure.

Is there a way to adjust it to 30 seconds?

Talha Tayyab
  • 2,102
  • 9
  • 14
  • 25

0 Answers0