Click here to Skip to main content
11,581,186 members (63,560 online)
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 8-Oct-12 23:47pm
Edited 9-Oct-12 8:11am
Nelek71.1K
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 OriginalGriff 250
1 Frankie-C 185
2 Sergey Alexandrovich Kryukov 85
3 Dave Kreskowiak 83
4 F-ES Sitecore 80
0 OriginalGriff 1,183
1 Sergey Alexandrovich Kryukov 825
2 Abhinav S 597
3 F-ES Sitecore 500
4 Suvendu Shekhar Giri 433


Advertise | Privacy | Mobile
Web03 | 2.8.150603.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