Click here to Skip to main content
Rate this: bad
good
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 9-Oct-12 0:47am
Edited 9-Oct-12 9:11am
Nelek66.7K
v2
Comments
Mohd. Mukhtar at 9-Oct-12 5:50am
   
How are you accessing server application into your system?
Giletwala Dhaval at 9-Oct-12 5:52am
   
i am using scs (Simple client server) framework
Sergey Alexandrovich Kryukov at 9-Oct-12 15:07pm
   
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 at 9-Oct-12 15:19pm
   
+5. Simple Logic.
Sergey Alexandrovich Kryukov at 9-Oct-12 16:24pm
   
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
0 Zoltán Zörgő 320
1 CHill60 185
2 Peter Leow 140
3 Pikoh 125
4 BillWoodruff 120
0 Sergey Alexandrovich Kryukov 9,423
1 OriginalGriff 6,891
2 Peter Leow 4,637
3 Zoltán Zörgő 4,304
4 CHill60 2,932


Advertise | Privacy | Mobile
Web03 | 2.8.150129.1 | Last Updated 9 Oct 2012
Copyright © CodeProject, 1999-2015
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