Ethernet library - wrong ordering of begin
parameters
#215
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
The
'begin
versions without MAC address parameter have new ordering of parameters.You can't do this. There are other Ethernet libraries now which have
begin
without the MAC address parameter, but they use the same ordering of parameters as the version with MAC address.Yes a network engineer would prefer ip, subnet, gateway, dns, but Arduino introduced in 2008 an ordering based on optional parameters defaults, where it is more likely to need to set a specific DNS IP and then a specific gateway more likely then a subnet other than the default. Doing this in different ordering doesn't make sense.
The text was updated successfully, but these errors were encountered: