I am investgating the possibility to control electronic devices using IPAD either by TCP/IP protocol or UBS or both. Currently, I developed a Window application for this task. Can I write such an application on a IPAD 2?