pocket pc as server

M

Mark Irvine

Hi,

I have been developing a small scheduling app and no would like to add an
additional alert facility. The idea is that if there is a change to the
schedule, an alert of some sort is transmitted to the device. My idea is to
have a socket listening (non-blocking) on a specific port. During logon the
public IP address of the device is recorded and then used to send alerts.
Is this a good approach? Are there any other approaches? I have also found
it difficult to find any examples on the web on this topic.

Many thanx for any help you can offer,

Mark
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

If the device is connected all the time I don't see why not, you could also
use a blocking port on a thread ( I'm not sure now if the CF support not
blocking ).

Another possible solution is that the client poll the server , this has the
convenience that the server don't have to record the client IP , which may
change and it consume fewer resources. the drawback is that you may get a
delay between the event and the time the client receive it.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top