Code Comments
Programming Forum and web based access to our favorite programming groups.I’m trying to develop a client server application where my smartphone is t he 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 h ave 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 s ee 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?
Post Follow-up to this messageYou could use WebRequest / WebResponse to communicate over HTTP. However there is an overhead and you have to run a web server on the PC.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.