Arduino Function: WiFIUDP.remotePort

Description

This function returns the port of the remote UDP connection. It must be called after UDP.parsePacket().

Syntax

UDP.remotePort();

Returns

 The port of the host who sent the current incoming packet


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc