Added iOS supporting UDP code