开发者

best way to communicate short messages over wifi with hardware device

I would like to communicate with a wifi device via an ad-hoc network. The messages received by the iPhone are quite short and the responses also (not more than about 100 bytes). The way it works is that the iPhone app waits to receive messages from the device and then responds with an answer.

SInce I am new to networking I really do not know where to start best. I looked into CFNetwork, asyncsocket project and other links on the net but did not find one single example which I can use as a starting point.

What is the best way to program this kind of wifi communication. I would really love to find a working set of mac and iPhone apps that I could use as a starting point. Later I have to port it to PC using VB.Net. But I could also start with iPhone <-> PC.

M开发者_如何学运维any thanks for your help!


Here is an identical question with a full answer:

Most effective way to do networking on Mac/iPhone?

Hope it helps!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜