Skip to content

Losing error information on constructor open() call  #8211

Closed
@lauri-piikivi

Description

@lauri-piikivi

Description

Issue for UDP and TCP Socket on different technologies and stack implementations
Not based on compile and run, reviewing code manually.

The socket constructor hides the open calls from returning errors underneath, and thus different implementations may fail -- see for example open on
https://github.com/ARMmbed/esp8266-driver/blob/master/ESP8266Interface.cpp

Note that this may impact cloud client, as they do not explicitly call open, only the constructor and connect.

Issue request type

[] Question
[ ] Enhancement 
[X ] Bug 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions