Donche
I had similar problems ... used when checking www
AntiCommerce using sockets... this very badly..
And he uses a GET request instead of HEAD
wikipedia: HTTP HEAD
Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content.
Example:
"HEAD / HTTP/1.1\r\n"
"Host: example.com\r\n
"Connection: Close\r\n\r\n"
I have heard many accusations toward the use of regular expressions.
They say that they are slower. Well, compared to using checks domain sockets and brute force dictionary or access database, they are working with the speed of light
__________________