Click here to Skip to main content
12,251,027 members (39,408 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# WPF
How to get server clock time on client application using WPF in c#?

Copied from comment below:
i am using scs (Simple client server) framework
Posted 8-Oct-12 23:47pm
Edited 9-Oct-12 8:11am
Nelek93.3K
v2
Comments
Mohd. Mukhtar 9-Oct-12 5:50am
   
How are you accessing server application into your system?
Giletwala Dhaval 9-Oct-12 5:52am
   
i am using scs (Simple client server) framework
   
Do you mean the one mentioned here:
http://www.codeproject.com/Articles/153938/A-Complete-TCP-Server-Client-Communication-and-RMI?
Do you have an original reference?
--SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You see, I'm not familiar with a particular framework you mentioned (is it something well-known? any references? — please see my comment to the question), but it this is really a client-server framework which provides at least minimal flexibility, you can always send a request to the server for its current time, and the server can return it in response. This is how that primitive client-server model works, this is pure pull technology:
http://en.wikipedia.org/wiki/Client-server[^],
http://en.wikipedia.org/wiki/Pull_technology[^],
(in contrast to more advanced push technology: http://en.wikipedia.org/wiki/Push_technology[^]).

Anyway, it will be enough to solve your particular problem. Smile | :)

—SA
  Permalink  
Comments
Marcus Kramer 9-Oct-12 15:19pm
   
+5. Simple Logic.
   
Yes, kinda simple :-)
Thank you, Marcus.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 9 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100