Click here to Skip to main content
12,814,249 members (37,795 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 9-Oct-12 0:47am
Updated 9-Oct-12 9:11am
Nelek117.7K
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. :-)

—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
Web01 | 2.8.170308.1 | Last Updated 9 Oct 2012
Copyright © CodeProject, 1999-2017
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