Can I build a wireless command interface to my iphone app from my PC over TCP?
Posted on 2014-08-10
Hello, I am creating an iPhone app and it would be really useful if my PC software could talk to it wirelessly. My plan is to create a TCP server into my iPhone app (currently adapting the QServer class from the WiTap xcode sample) which listens on a port. I am also writing a .NET windows program that has TCP client functionality (ie can connect to remote TCP servers) (this has been written and works against a test TCP server). Both the iPhone and the laptop that the .NET program runs on will be on the same subnet (no firewalls in between). After they connect, I hope to send ASCII commands/messages between my .NET application and the iPhone app.
Before I get all the way to the end of this and discover that my approach wasn't good (for example if Apple disallows the above somehow), I thought I'd ask: is there anything that *won't* work about this??
Thanks very much for the help.