-
Winsock Server Time?
Pretty much what the title says. How can I get the local time of the Winsock server the user is connected to? I'm making a chat program and I want to be able to display a message to the user like "You have connected to the chat server. The local server time is 12:15PM on Sunday, October 25, 1983". Is this possible? Thanks. :)
-
Re: Winsock Server Time?
That would be a function of the chat server. When the connection is established, it will have to format its date/time in the text string that you suggested and send the tring back to the client.
-
Re: Winsock Server Time?
as has been said there is no set method like with some langauges, you have to invent one, and send the time via string to the client :)
Pino