Possible Error in EthernetUDPWrite Documentation

Apologies if this is in the incorrect forum. The documentation mentions bringing up corrections on the forum but does not specify which sub forum.

I'm reading through the documentation here on sending a udp message. The following line uses Udp.remoteIP() and remotePort() to set the ip and port, but both of those resolve to 0, at least when printed. The code looks similar to the read/write example, where parsing an incoming udp sets these values - perhaps it was copied and modified for this example. If I'm understanding correctly, it may be more clear to a reader if the example sends an ip object and int as the parameters.

Udp.beginPacket(Udp.remoteIP(), Udp.remotePort());