Skip to content

error: called object 'socket' is not a function or function pointer #50

@inderjeetrao

Description

@inderjeetrao

Getting Error:
CC build/oap-http/esp_request.o
sensor-esp32/components/oap-http/./esp_request.c: In function 'nossl_connect':
sensor-esp32/components/oap-http/./esp_request.c:128:14: error: called object 'socket' is not a function or function pointer
socket = socket(PF_INET, SOCK_STREAM, 0);

It seems due to change in ESP IDF.

According to the solution above changes will need to done in esp_request.c file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions