This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to write a simple Ping method in Cocoa/Objective-C
check internet connection in cocoa application
I want to ping an IPaddress and know whether it is currently in network or not.I am developing iPad/Iphone application in Xcode(objective-C).Please help me with sample code as I am new to this technology.
I don't want to download other application to ping IPaddress.
Sushma
Related
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Programmatically get the number of the incoming call
Is it possible to get the incoming call number in iphone using any private api?
You cannot do this.That will be a security risk.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to check for an active Internet Connection on iPhone SDK?
I have to find to which network the ipad is currently connected through the ipad application. is it possible through the reachability code?
Do you mean the SSID of the wifi network?
That's not possible.
For checking internet/intranet connection, use the reachability, and specify your own server (on the intranet) or a public server (on the internet) to check if you can reach it.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Is it possible to connect iphone to printer via bluetooth?
Can any body suggest how can we connect bluetooth printer with our iPhone Application.
So that i can take printout of text i have typed.
Thanks in Advance
Kamleshwar
iOS currently \ does not support Bluetooth printing
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
In Win32, is there a way to test if a socket is non-blocking?
On Unix, I can use fcntl().
Are there any Winsock API I can use to check a socket is blocking mode or not?
Winsock unfortunately (and surprisingly) isn't able to do this.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
iPhone SDK Internet connection detection
What is the best way to determine whether there is an available Internet connection for a iphone app. (Programatically of course) I want to disable/hide certain functions if the user is not connected to the Internet.
Can anyone help me?
Thanks in advance.........
Can you have a look at below post it contains couple of useful post for achieving Reachability code make works.
http://www.iphonekicks.com/tags/Reachability