To transfer data between CANoe and external server runninng on UDP you have to configure fdx xml and enable fdx in CANoe options so that it runs as server. UDP_datagram fdx sample
based on this you can form a UDP packet and send data you wanted to send. and you can send data via UDP back to CANoe