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

Appearance settings

Problem in NetworkClient::connected() #10559

Copy link
Copy link
Closed
@NPaolini

Description

@NPaolini
Issue body actions

Board

ESP32

Device Description

DOIT ESP32 DEVKIT V1

Hardware Configuration

almost all GPIO are connected

Version

v3.0.5

IDE Name

Arduino IDE

Operating System

Windows

Flash frequency

80 MHz

PSRAM enabled

no

Upload speed

921600

Description

With recv() in MSG_DONTWAIT the errno is not reset when recv() returns zero, not because the connection is terminated, but because there is no data. My solution is to reset errno before call to recv(). The full explanation is in 'https://forum.arduino.cc/t/errore-nel-file-appdata-local-arduino15-packages-esp32-hardware-esp32-3-0-x-libraries-network-src-networkclient-cpp/1317872/3'

Sketch

any web server

Debug Message

remote connection closed

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.