Re: 回覆: Re: 回覆: Re: [twsocket] ThttpC il Send bufsize problem

2006-01-12 Thread Michael Preslar
Doh. Again, I missed something simple. with the -f I get the same
results you do.

Wilfried Mestdagh wrote:
> Hello Michael,
> 
> this is completely correct. But you forgot the -f parameter:
> 
>  C:\>ping -l 1473 -f www.google.com
>  Pinging www.l.google.com [66.249.93.104] with 1473 bytes of data:
>  Packet needs to be fragmented but DF set.
...
>> C:\>>ping -l 1473 www.google.com
> 
>> Pinging www.l.google.com [64.233.167.99] with 1473 bytes of data:
> 
>> Request timed out.
> 
>> Just an interesting side note :)
> 
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Re: 回覆: Re: 回覆: Re: [twsocket] ThttpC il Send bufsize problem

2006-01-12 Thread Michael Preslar
No real comment to add.. just a FYI..

Wilfried Mestdagh wrote:
> Hello,
> 
> To see the largest possible packet size you can do following. Choose
> some IP address of your ISP provider instead of this and try. You can

> 
>  C:\>ping -l 1473 -f 195.130.132.82
> 
> Pinging 195.130.132.82 with 1473 bytes of data:
> 
> Packet needs to be fragmented but DF set.

> As you see, my largest possible packet size is 1472. Adding 28 bytes of
> ICMP and IP headers I see my MTU is 1500. I am pretty sure you will have
> exact same result.


First time I've heard about ping's -l option, so I had to try it.

Here, Win XP SP2.. When I ping my isp's smtp server with a -l 1472, it
goes through just fine. But if I ping with anything higher, the request
times out.

To make sure it wasn't just the connection between me and my ISP's
machine, I did a 'ping -l 1473 www.google.com' .. Same thing.

C:\>ping -l 1473 www.google.com

Pinging www.l.google.com [64.233.167.99] with 1473 bytes of data:

Request timed out.

Just an interesting side note :)
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be