iphone-network

How to get port number for iPhone Chatting Application

I am developing a chat application. But Right now chatting is possible with only google because I know only google's port no. xmppClient = [[XMPPClient alloc] init]; [xmppClient addDelegate:self]; // Replace me with the proper domain and port. // The example below is setup for a typical google talk account. [xmppClient setDomain:@"tal...

Creating a error-handling UIView Overlay

I have a Tab Bar controller inside a Navigation controller. I want to create a view, with a single 320x411 image (leaving the status bar, and the tab bar). The image is shown for a network connection error. Currently I'm using this code, in the tab bar item's individual view's viewDidLoad: if (appDelegate.hasInternetAtStart == NO) { ...

What's the fastest way to transfer data between iPhone & computer (Mac or PC)?

I want to continuously transfer bulk of data between an iPhone app and a desktop app. (e.g. to capture the full screen, and show it on iPhone screen at real-time). What's the best way to do that? Currently I implemented a communication via TCP socket. But I can't sure if it's the best in both bandwidth / latency concern. Especially the ...

Scan local network to detect windows/mac/linux computers with iPhone.

I'm trying to figure how to perform some networking tasks using Objective C on the iPhone. I'd like to enumerate all network devices on my local, home network. Also, I'd like to be able to ping individual devices. Does anyone know how and what tools/libraries I can use to achieve this and other networking tasks? I've checked the iPhone ...