What kind of messages can be sent over the network DATs

I noticed that the documentation on how to send with the network dats (UDT/TCP/UDP) is a little slim.

My question is what exactly can be sent and what format does it need to be in?

I have so far been able to send just plain strings but I would like to be able to send Python objects from storage (as I am receiving bytes in the callback anyway)

Those are raw networks ports. What you send is entirely up to you. There is no protocol specified. If you want to send python objects you’ll want to look into the python pickling classes.