Sockets (Getting Time)
I have:
Code:
|
Re: Sockets (Getting Time)
Good to see you around again, Drak :D
1) First off in your request you should use '\r\n' instead of '\n' (not sure if this matters for Linux, I assume it does?). Example: Code:
GET /current_time_in_MV.aspx HTTP/1.1\r\nExample: Code:
Connection: Close\r\n\So the complete example looks like this: Code:
GET /current_time_in_MV.aspx HTTP/1.1\r\n4) Now you need to select the time out of all the html. It will probably be best to use regex for this. Hopefully this can help you some :) |
Re: Sockets (Getting Time)
Yesss. That worked, yeah. The data is sent in bursts so now I can string attack it and get the time. Thanks :D
|
Re: Sockets (Getting Time)
Quote:
|
| All times are GMT -4. The time now is 02:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.