VPN connection with Objective-C - iphone

Is there a way to establish a VPN connection programmatically in Objectiv-C for the iPhone? Are there somewhere good tutorials for this?
Does anyone know?
Thanks alot

I don't think third-party applications have access to those APIs.

Related

How to implement chat using bonjour service?

I have one application in which all available clients are displayed.Now i want
to implement chatting between them.can it be done with help of bonjour service without
having any other server in between them?any tutorial or sample code for that?
These links might be useful.
http://mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/
you can find source code on https://bitbucket.org/snej/chatty/src
thanks
Game Kit provides a high-level peer-to-peer connectivity API, which you can use for chat.

vpn client for iphone/ipad

I want to implement vpn client applcation for iphone and ipad.
my requirement is to develope an application to enter vpn details and to show the network traffic and the connection.
can anyone please help me in this, how to implement vpn client on iOS.
Looks like the VPN API is not exposed in the Apple iOS.
http://blog.michael.kuron-germany.de/2010/09/ios-4-1-undocumented-vpn-api-used-by-cisco-anyconnect/
Officially, since it's built right into the phone, it most likely won't fly with Apple. Can't you just watch the traffic going through the VPN server instead of watching it at the client?
Did you hear about iConn VPN Client? It is available in apple store and though it is free. You can download the client into your IOS device and i hope that it will work for you.

if possible start VPN connection in iPhone app?

as topic, I want establish VPN connection in iPhone app, if it possible? but seem not public API for this purpose ...
anyone give tip, thanks.
I've seen RDP over VPN using the iPhone (though I haven't set it up myself) and Cisco indicates support for VPN connections from iPhone on their ASA series:
And Apple provides instructions.
So VPN connections using a variety of protocols are definitely possible. However, initiating the connection programmatically is a different matter.
I did some additional reading (including old posts here on SO like VPN connection with Objective-C).
The more that I think about it, allowing an application to quietly initiate a VPN connection could pose a big security risk. I would be surprised to see API support for it.
However, creating your own VPN client on the iPhone (though MUCH more difficult than making an API call) is still theoretically possible.

iphone PC TCP/IP connection

I'm looking for the faster and easy way to connect the iphone to the PC with IP/Port connection.
Anyone has a good idea?
thanks in advance
Gilad
Not sure if this is what you are looking for, but this Mobile Development Wiki provides some information on how to communicate using low level sockets on the iPhone.

Types of Peer-to-peer connection

I am developing an application and trying to use an peer-to-peer communication. i have idea about bluetooth and WIFI.
Is their any other options for peer-to-peer communication. Is it possible using Internet option.
Please help me with a source code or any documentation?..
Check Apple's Documentation on the GameKit. That provides you exactly with what you are asking for.
WIFI is internet. I'm not quite sure what you mean.