For your iPhone to communicate with X-Patch, you must have a Wi-Fi router in the network the X-Patch is connected to.
The iPhone connects to the network and can then find the X-Patch.
You also need to have the X-Patch application on your iPhone.
The public information page for the application is here:
http://itunes.apple.com/us/app/x-patch-remote-control/id378120888