General information
Category:
Cliente/Servidor
Título:
How to get the current time of a computer in a network !!!
I need to get the current time of a computer in a LAN. I can get several approaches:
1. The easyest: each computer to update a local file/table and where to write a current time at lets say 5 seconds. This requires a time on the application and it's not very safe.
2. Using winsock activex or sockets sdk (in a VC dll) and to transmit the time my this means. This is very clean but takes some time, time that i don't currently have.
3. Use some notwork sdk function that get the remote time of a computer. The bad part is that i don't know such function.
I would be greatful for any sugestions.
Next
Responder
Visualizar o mapa desta thread
View the map of this thread starting from this message only
Visualizar todas as mensagens desta thread
Visualizar todas as mensagens desta thread a partir desta mensagem