Discussion Locked

Current time from a Network Machine

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there any way to take the current time from a machine over the network using VB and put it in a variable?

3 replies

by kennethrayg

You have to create a client and server program. The server program must be running (like a service in the server machine) every time the client runs. You can use the winsock provided in the VB. There is a sample program that you can experiment in MSDN that does the trick.

by fciress

It worked fine. Using UDP protocol that doesn't keep a connection all users can have the information.

Thanks

This discussion is closed to new replies.