Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WiFiClient uses Stream::_timeout for connect() timeout. Is that intended?#9004

JAndrassy started this conversation inGeneral
Discussion options

The WiFiClient uses Stream::_timeout for connect() timeout, write() timeout, hostByName timeout.
Is that intended? Default value of Stream::_timeout is 1 second. WiFiClient changes it ti 5000. That is too much for Stream timed read functions like the readBytesUntil function.
Other libraries haveclient.setConnectionTimeout. It was first used in the 2.0.0 version of the Ethernet library in 2018. There it is used in client.stop() too.

You must be logged in to vote

Replies: 1 comment

Comment options

the discussion happened here#9073 (comment)

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
1 participant
@JAndrassy

[8]ページ先頭

©2009-2025 Movatter.jp