UDP trasmission between two Arduino

Hi guys,
I'm trying to send UDP packets between two Arduinos.
I'm using an Arduino M0 with WINC1500 like Master, it should receive the UDP packets from Slave and then it should send the information to a server, where they will be put in a graph.
This is the page:
greenhouse

The Master works fine, I've simulated the sending and receiving UDP packets with a Windows software.

My problem is the slave, I'd like to use an Arduino Uno with CC3000 shield, I'm using Adafruit_CC3000 library but I don't know how can do that.

Could help me? Do you know any guide?

Thanks a lot

It has UDP methods, but no examples. What I would do, is try to adapt a UDP example from the Ethernet library.