Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Can I build a wireless command interface to my iphone app from my PC over TCP?

Posted on 2014-08-10
Medium Priority
Last Modified: 2014-08-15
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.
Question by:RonMexico
  • 2
  • 2
LVL 100

Accepted Solution

John Hurst earned 2000 total points
ID: 40252914
I use CompanionLink to sync Outlook information to my iPhone wirelessly. It works fine. It knows the IP of my phone when on wireless and apparently has a module to connect and sync.

You might take a look at this product because it says that what you want will work.

By the way, here:  wireless means Wi-Fi.

Author Comment

ID: 40252983
Okay, thanks, that is a point in favor.  I'll leave this open in case anyone has tried this and knows a pitfall or obstacle.

Author Comment

ID: 40263220
It worked fine, by the way.  Thanks.
LVL 100

Expert Comment

by:John Hurst
ID: 40263231
@RonMexico  - You are very welcome and I was happy to help.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This program is used to assist in finding and resolving common problems with wireless connections.
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question