Dot42 is very promissing project, what is still missing is more complete set of BCL.
In this case you should use java classes. You can find many examples of client UDP code in java. If you want to share code between regular .net and dot42, you have to use interface to udp methods with separate implementations for regular .NET and Dot42.