Read information from a PyDatagram

I am trying to program a server-client application used panda, and I am having trouble to understand how to send/receive data.
As I could understand a datagram is a package with some information I can add with the add method. But how do I retrieve this information?
Any help is welcome.

Thanks in advance.

Create a DatagramIterator to walk through the data on a datagram.

David

Thanks a lot.