Want to test Bonjour with 2 iphone/ipad - bonjour

Apologies for such a silly question.
Please note I don't have Apple TV or any printer. I would like to get hold of the packet trace that takes place when bonjour (Discovery and Resolution phase) is in action. I need to get bonjour into action using just 2 iphone/ipad (I have a Wifi Network through which I could connect these iPad/iPod). Please suggest what application can I use to achieve this? I am a newbie in iOS world, and have no idea of apps related to bonjour.
Hope some of you could help.

Related

Direct VoIP call from one iOS device to another

I'am going to develop peer-to-peer VoIP iOS application. And want do it without any SIP proxy, SIP providers and other servers. Just VoIP calls frpm iOSdevice-to-iOSdevice. Both iOS device could be somewhere in Internet. Is it real in VoIP (with PJSIP for example and general with SIP)?
Could you please point me to main keys that I need for development.
I have already read these topics. Is it real solve problems with addressing in my configuration. PJSIP could help with correcting addressing?
Look at Apples Multipeer Connectivity framework. I have built an app that does exactly what you want. If you look to my profile and the questions I have asked you will get some good guidance. Though I recommend you do it with a backend since MultiPeer wasn't the best solution, atleast when it comes to supporting multiple peers and to be able to call another device that has the app in the background.
See Frank Shearar's Answer Here
In short, it looks like this would be a very difficult task.
Another option would be to use the Twilio SDK for iPhone (Obj-C). This would work well for what you're trying to do and would be a whole lot easier. Link

Communication between two iOS devices

I am looking for a way to have one iPhone app send a message to another app on a different phone (sort of like a Sender-Receiver set up). I am looking for the best possible way to do this. Does anyone have any ideas and/or tutorials?
Thanks for the help.
You should use GameKit. It is super easy to send messages between two iOS devices using it. Here's a great tutorial: Game Kit. You can also get more information about it here from the docs: About Game Kit.
You communicate by creating an ad-hoc bluetooth or local wireless network.
lmirak provided insightful info about device communication(especially about GameKit). I would like to add one more solution. You can use WiFi network to do your device communication.
See the link or download the sample application from developer.apple
The sample application named as WiTap. It demonstrates how to achieve network communication between applications. Using Bonjour, the application both advertises itself on the local network and displays a list of other instances of this application on the network.
If your app is only going to run on iOS, then you should use the fantastic MultipeerConnectivity library. https://developer.apple.com/documentation/multipeerconnectivity
If you need a solution that will work cross-platform, then one way to accomplish this is using sockets and connecting over a local network. On iOS you can use CocoaAsyncPods for sockets and NetService for discovery.
Here is a basic example app that does this: https://github.com/brendaninnis/LocalNetworkingApp
, which I explain in great detail here: http://brendaninnis.ca/connect-nearby-devices-part-1.html

Wi-fi capture packets IVS.

(^.^)"Hi again sorry for my English is not good if someone like correct my redaction I would appreciate this"
Hi, is anybody now if I can capture IVs with my iphone from the wi-fi networks , any source code, Api, tutorial, etc.. who can make this who can put the iphone wifi promiscuous mode monitor to capture packets.
I've looking for but can not find nothing.
Thanks.
Take a look at Stumbler.
Note that it uses private APIs so most of this code is not suitable for
App Store aplications. But as a learning resource it's priceless.

iphone/ipad: create a remote control freature

I am quite new to iOS development and just thought to take guidance from experts
Actually I have to do a project in which I can use iPAd/iPhone to control some external device like camera movement or anything similar like that, some PIC programming or anything related to robotics, mechanics which can be controlled from iOS based device.
I am kind of lost goggling please guide me on this.
If you can help me with these I can get some concrete redirections
1) Links to whitepapers / articles / blogs having relevant material
2) Links of third party libraries which can help me in this
3) Links of demo application which are already there
4) What stream should I focus on to get material regarding the same.
eg: something like survilance system
Thanks in advance
So the practical ways to interface an iOS device to a robot are over WiFi, establishing either a UDP or TCP socket. Here are a few links:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/2023-tcp-ip-udp-networking.html
http://www.youtube.com/watch?v=4XQeZE4nh6M
http://www.youtube.com/watch?v=0ipAKzCwn4Y
I would not recommend the Bluetooth path, as Apple considers bluetooth as an "External Accessory" and requires MFi certification (Made for iPhone)

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.