Hey Guys,
I just recently started programming for the iPhone, and I put my first sample program on my iphone. Basically I ran it on the simulator on one end and the program on my iPhone on the other end. Both are supposed to recognize and be able to send messages between each other.
When I tested it on my home network, it worked fine as intended...but when I tested it on my university on campus wi-fi, it wouldn't work properly. Neither one running the program would be able to find the other one. I'm guessing it's got to do with how the code handles more wider area networks. I'm not sure what I should be looking for in the code. A little help would definitely be appreciated.
I found it here
Oh and btw, is there anyway to make this program work on a more peer-to-peer basis? I mean, can I make it work without the need for them to be connected to a common wi-fi network? (I tried this at home on different networks and it didn't work)
I just recently started programming for the iPhone, and I put my first sample program on my iphone. Basically I ran it on the simulator on one end and the program on my iPhone on the other end. Both are supposed to recognize and be able to send messages between each other.
When I tested it on my home network, it worked fine as intended...but when I tested it on my university on campus wi-fi, it wouldn't work properly. Neither one running the program would be able to find the other one. I'm guessing it's got to do with how the code handles more wider area networks. I'm not sure what I should be looking for in the code. A little help would definitely be appreciated.
I found it here
Oh and btw, is there anyway to make this program work on a more peer-to-peer basis? I mean, can I make it work without the need for them to be connected to a common wi-fi network? (I tried this at home on different networks and it didn't work)