Webservice on the iPhone

Supporting 10.7 and up
Kimo19

Webservice on the iPhone

Postby Kimo19 » Mon Feb 22, 2010 6:19 am

Hi,

I am trying to control my interface kit from the iPhone, but it's not working...
I started the webservice server from the preference panel.
I downloaded the iPhoneLibrary and I used the same code of the C example. I used the openRemote (and also openRemoteIP) function instead of the usual open function one. but it's not working.

Do I have to browse for Bonjour available services before calling this functions?

Could you please provide some code examples on how to use the webservices on the iPhone ?

Thank you,
Best Regards,
Karim

User avatar
Patrick
Lead Developer
Posts: 3078
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Webservice on the iPhone

Postby Patrick » Mon Feb 22, 2010 10:33 am

Using the library on the iPhone should be the same as using it on your PC. Does the same code work from a regular computer on the network? Are you sure that the iPhone is connected to the same network as your webservice?

-Patrick


Return to “macOS”

Who is online

Users browsing this forum: No registered users and 1 guest