|
-
Mar 18th, 2005, 03:07 PM
#1
Thread Starter
Member
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.
-
Mar 18th, 2005, 03:30 PM
#2
Frenzied Member
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.
-
Mar 18th, 2005, 03:59 PM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|