Click here to Skip to main content
15,886,622 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
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
Updated 9-Oct-12 8:11am
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
Sergey Alexandrovich Kryukov 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

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
 
Share this answer
 
Comments
fjdiewornncalwe 9-Oct-12 15:19pm    
+5. Simple Logic.
Sergey Alexandrovich Kryukov 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900