I'm programming an iOS application which needs to communicate with a python app in a very effecient way thru UDP sockets.
In the middle I have a bonjour service which serves as a bridge for my iOS app and host python app to communicate.
I'm building my own protocol which is a simple C structure. The code that I had already as packing strings into NSKeyedArchiver entities which by their turn would be packed in NSData and sent. In the other side there is a NSKeyedUnarchiver.
The problem is that it can't understand the C struct i'm sending. Is there a way of putting a C structure inside a NSKeyedArchiver? How should I modify my middle service to remove this?