Can I send or receive messages via PubNub SDKs using the UDP protocol?

No, at the moment PubNub client libraries communicate over a TCP socket connection only.