is client legacy code?

Hi all Im,
trying to figure out the Ethernet client.

is the Client() construct legacy? The code sample fails to compile.
the code on the page

works fine though. Has EtherClient replaced Client()?

is the Client() construct legacy?

Yes.

Has EtherClient replaced Client()?

EthernetClient has.