I have an external device which transmits some data through wifi. In my iPhone app i want to collect the data from that device and also, i want to transmit some data to that external device from my app. I am not sure whether this is possible or not. Can someone tell, how i can achieve this.