UDP receive (updated)

added support for arrays