Re: How to ping a site ?
From: Vincent Fatica (abuse_at_localhost.com)
Date: 09/14/04
- Next message: David F: "After compiling an MFC appl. with C++.NET 2003, a modified ICON file still shows the original"
- Previous message: Ari Berger: "Re: help with runtime libraries"
- In reply to: Igor Tandetnik: "Re: How to ping a site ?"
- Next in thread: OL: "Re: How to ping a site ?"
- Reply: OL: "Re: How to ping a site ?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 00:04:58 GMT
Once you have an IP address, you can also use a simple connect() on port
80 (or any TCP port you expect to be listening) then immediately close
the socket. It may be a little rude, but I have used this technique
while timing the response to see how the various protocols (HTTP, SMTP,
POP, NNTP, et c.) are affected by a packet-shaper.
On Mon, 13 Sep 2004 13:55:25 -0400, "Igor Tandetnik"
<itandetnik@mvps.org> wrote:
>"ama" <a.m.a@videotron.ca> wrote in message
>news:blj1d.46385$WH1.629116@wagner.videotron.net
>> I need to know how i can similate a click with a URL that constains
>> data for the server , ex:
>> http://www.sd.com?_soaid+234234...
>>
>> It is used by banners for exemple, exept i dont need to download
>> anything. I just want to ping with this URL .
>
>I'm not sure what you mean by "ping". If you mean "execute ping ICMP
>protocol", it takes an IP address or a domain name, not a URL, which
>renders your question meaningless. If you mean "execute an HTTP request
>but ignore the response", I don't see what a problem is - just do this
>as you normally would, and drop on the floor any data sent by the
>server. To reduce network load, you can issue a HEAD request instead of
>GET, then the server will only respond with headers but won't send any
>content.
-- - Vince
- Next message: David F: "After compiling an MFC appl. with C++.NET 2003, a modified ICON file still shows the original"
- Previous message: Ari Berger: "Re: help with runtime libraries"
- In reply to: Igor Tandetnik: "Re: How to ping a site ?"
- Next in thread: OL: "Re: How to ping a site ?"
- Reply: OL: "Re: How to ping a site ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|