Link to home
Start Free TrialLog in
Avatar of Alexey090397
Alexey090397

asked on

Date at the server

Is it possible to get current data from a Server and put it data as a current to the Client computer ? If it possible then help me, please, how can I do it ?
Avatar of anilms
anilms

Could you be more specific whether it is a NT server or a Netware server. You can do this with both types of servers.
ASKER CERTIFIED SOLUTION
Avatar of Pegasus100397
Pegasus100397

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm adding a comment so that I can get notified when the answer is accepted or rejected, as I too am interested in whether Alexey means DATE or DATA...

JB
Avatar of Alexey090397

ASKER

Thank you very much. Excuse me for an incorrect statement of a question. But I have another type of question. Could you give me an example of the program, which connect to the server (I know only IP of this server) and take current TIME. In Delphi 3.0 there is an example program - dchat.exe, but then I trying to connect with this program to the server it gives error : "Connection is forcefully rejected ". That I'm doing wrong ?
Thanks.
Alexey,

I believe you are trying to use the TCP/IP protocol to access the time on the server by connecting to a port? I don't remember what the port number is, but I DO know you can do that with DCHAT (I have done this). Do a Yahoo seach on PORT and TIME and see if you can get RFC document detailing the ports for various services. I know it's not much help but might get you going in the right direction. If needed, I'll do some further research on it.

Good luck with your project
Pegasus