4

I have an adhoc wifi network setup via a WiFly module. I was wondering how I could connecting an iOS device to this network. Right now I am using the CFStream api. I found a tutorial which used this:

CFStreamCreatePairWithSocketToHost(NULL, (CFStringRef)@"localhost", 80, &readStream, &writeStream);

To connect to a server. However I don't want to have a server I just want to communicate with my WiFly module to the iOS device via a server. Just direct communication over the adhoc network. How can I do this?

Thanks

thebiglebowski11
  • 1,451
  • 10
  • 41
  • 76

0 Answers0