简体   繁体   中英

WiFi iPhone Application

im working on an iPhone application which requires communication between 2 devices through WiFi.

Can somebody please help me by providing a simple iphone application code for the same which is able to communicate data between the devices...i hv gone through the " witap application " available on the developers site but wasnt able to understand it...

please help..

There's a great 2-part tutorial at MacResearch:

Part One

Part Two

Use the Bonjour, let Device A as the server, and publish service via Bonjour; and in Device B,use the NSNetServiceBrowser to search the published service via device A in the same local network,and connect by socket to send data.

there is a demo here. download .And you can read this article go>> .It helped me before.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM