title: Communication between Desktop Application and Windows Mobile Compact Framework c#
body: <p>I am writing a desktop application that will have to communicate with a windows mobile application in the compact framework 3.5. The communication must occur over the internet between these two applications to send data between them on command if the connection is available.</p>
  
  <p>The system will send messages and objects like Images between device and desktop application and check to see if the desktop can see the device by sending a command and have a timeout on response. (Application will then know that the device is not available).
  The mobile device will send a message to the desktop application when online as well that the desktop knows that the mobile is connected(Type of registering for communication)</p>
  
  <p>Can someone please inform me of the best way to follow to accomplish this.</p>
  
  <p>I did some research and found this <a href="http://msdn.microsoft.com/en-us/magazine/cc164240.aspx" rel="nofollow">site</a> is near to something like event based driven communication I would want but do not have the availability of setting up an email on each device.</p>
  
  <p>Battery life and internet open on device is not an issue.</p>
  
  <p>Should I check in on working with the System.Net.Socket class for this type of communication between the two application and if so how will I set up so firewalls will not interfere and have my desktop application be seen over the internet by the mobile application ?</p>
  
  <p>Hope someone can spread some light over this for me, if you have a answer please provide a link so I can read up on it.</p>