[Nc-Core][Nc-Net] Corrected small error in management of SocketUdp.