Skip to content

move setdefaulttimeout line to before open socket#13

Open
sayz wants to merge 1 commit intoTCM-Course-Resources:masterfrom
sayz:patch-1
Open

move setdefaulttimeout line to before open socket#13
sayz wants to merge 1 commit intoTCM-Course-Resources:masterfrom
sayz:patch-1

Conversation

@sayz
Copy link

@sayz sayz commented Oct 21, 2021

We have to put setdefaulttimeout(0.5) before open socket. Otherwise computer will wait for default timeout to check first unavailable port number.

We have to put setdefaulttimeout(0.5) before open socket. Otherwise computer will wait for default timeout to check first unavailable port number.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments