Closed
Description
Calling Socket::open() before EthernetInterface::connect() results in sys_arch_protect error
.
As a NetworkInterface instance is required by sockets (as documented), I wouldn't necessarily expect it to work (although possibly not with that specific error).
But, as long as EthernetInterface::connect() has been called once, even if DHCP fails or connect() is immediately followed by EthernetInterface::disconnect(), I can then open sockets as if I had working network connectivity.
Is this the intended behaviour in each situation?