Skip to content

EthernetServer ethServer(502) will not compile #274

Closed as not planned
Closed as not planned
@jbr007

Description

@jbr007

Hi,

I am using ESP32-S3 and have some issue trying to setup the server.

#include <Arduino.h>
#include <SPI.h>
#include <Ethernet.h>

#include <ArduinoRS485.h> // ArduinoModbus depends on the ArduinoRS485 library
#include <ArduinoModbus.h>

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

EthernetServer ethServer(502);

will give error message:

cannot declare variable 'ethServer' to be of abstract type 'EthernetServer'"

Any solution?

It works on ethernet2.h

Metadata

Metadata

Assignees

Labels

conclusion: duplicateHas already been submittedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions