Skip to content

Suggestion: change how constructor is called #2

@ssilverman

Description

@ssilverman

EthernetUDP udpStream = EthernetUDP(40);

Change suggestion:

EthernetUDP udpStream(40);

This avoids using the copy constructor and instead constructs it in place.

Side question: why a queue size of 40? (I’m curious also if NativeEthernet works fine having no inbound queue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions