Re: [twsocket] How to simulate 10053?

2008-01-24 Thread S.Korotky
Thank you, Dod!

The call to SetTcpEntry imported from iphlpapi.dll (as demonstrated in the 
NetStat32) does the trick.

- Original Message - 
From: "Dod" <[EMAIL PROTECTED]>
To: "ICS support mailing" 
Sent: Thursday, January 24, 2008 5:04 PM
Subject: Re: [twsocket] How to simulate 10053?


> Hello DZ-Jay,
> 
> Try NetStat32 (delphi source provided) it will show you connected TCP
> on the machine and using "del" key you can kill each connection you
> want and generate your error I think.
> 
> http://smeschini.altervista.org/download/netstat32.php
> 
> regards.
> 
> DJ> Unplug the network cable midway through transaction?
> 
> DJ> dZ.
> 
> DJ> S.Korotky wrote:
>>> Hello All!
>>> 
>>> Is there a way to generate 10053 error from ICS?
>>> 
>>> Calling Abort does close a connection gracefully as well as CloseDelayed
>>> (except for a dropped buffered data, if any).
>>> 
>>> Some soft, such as MS IE, often produces 10053 when it closes a connection.
>>> FF does not. I need to reproduce this MS "feature" for testing purposes.
>>> 
>>> Thanks in advance.
>>> 
>>> Stanislav Korotky.
>>> 
> 
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
> 
>
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] How to simulate 10053?

2008-01-24 Thread Dod
Hello DZ-Jay,

Try NetStat32 (delphi source provided) it will show you connected TCP
on the machine and using "del" key you can kill each connection you
want and generate your error I think.

http://smeschini.altervista.org/download/netstat32.php

regards.

DJ> Unplug the network cable midway through transaction?

DJ> dZ.

DJ> S.Korotky wrote:
>> Hello All!
>> 
>> Is there a way to generate 10053 error from ICS?
>> 
>> Calling Abort does close a connection gracefully as well as CloseDelayed
>> (except for a dropped buffered data, if any).
>> 
>> Some soft, such as MS IE, often produces 10053 when it closes a connection.
>> FF does not. I need to reproduce this MS "feature" for testing purposes.
>> 
>> Thanks in advance.
>> 
>> Stanislav Korotky.
>> 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] How to simulate 10053?

2008-01-24 Thread DZ-Jay
Unplug the network cable midway through transaction?

dZ.

S.Korotky wrote:
> Hello All!
> 
> Is there a way to generate 10053 error from ICS?
> 
> Calling Abort does close a connection gracefully as well as CloseDelayed
> (except for a dropped buffered data, if any).
> 
> Some soft, such as MS IE, often produces 10053 when it closes a connection.
> FF does not. I need to reproduce this MS "feature" for testing purposes.
> 
> Thanks in advance.
> 
> Stanislav Korotky.
> 


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be