UDP is a connectionless protocol. You can only get the local port that has been opened.
UPDATE: This applies for a static look at the port usage. However, if you have active UDP trafic you can still retrieve the remote endpoint.
User Ishmeet suggested uIP or LwIP in the comments.