Home > Archive > Smartphone Developer Forum > January 2006 > Smartphone Client Server
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Smartphone Client Server
|
|
|
| I’m trying to develop a client server application where my smartphone is the
client and my home PC is the server. I know this topic has been discussed
before but I can’t find out the best way. Remoting is out of the question
because CF does not support remoting. I have tried to use socket. It works
fine as long as I’m in a local network, but I’m not able to make it work if
I’m outside, like if I’m connected through activesync at work. (Yes, I have
opened the necessary ports in my router at home and there are no port
restrictions at work). I have also found an example to host webservices in a
windows app. That works fine but the limitation is that it’s only a “one way
communication”, i.e. I have to poll the webservice every now and then to see
if something has happend.
So the question is. Is it possible to make sockets work if I’m outside my
local network at home? If so, could anyone please provide me with a working
example?
| |
| tamberg 2006-01-20, 3:59 am |
| You could use WebRequest / WebResponse to communicate over HTTP.
However there is an overhead and you have to run a web server on the PC.
|
|
|
|
|