aynchronous web services connection end in Close_Wait state

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: tom (eeemwong_at_hotmail.com)
Date: 12/07/04


Date: 7 Dec 2004 02:28:49 -0800

Hi all, I hope I can explain my problem clearly.

I have a .NET c# windows application calling a localhost web service
using
asynchronous callback.

While still waiting for the result, the user decides to end the
application,
my application then cast the applicable IAsyncResult to a
WebClientAsyncResult object and call the Abort() method of the latter
object.

Everything is fine, however, it left the server side with the
Close_Wait
connection state. (Under TCP term, it means the server still waiting
for the
ACK from the client). How can I make sure the .NET window application
will
send the ACK after calling the above Abort()?

I am using XP Pro, the IIS only allows max. 10 connections, the
Close_Wait
state connection will be kept opened for a very long time.

I have searched intensively but I can not find a solution. Hope someone
out
there can help!

Rgs
Tom



Relevant Pages

  • aynchronous web services connection end in Close_Wait state
    ... I have a .NET c# windows application calling a localhost web service ... While still waiting for the result, the user decides to end the ... send the ACK after calling the above Abort? ... state connection will be kept opened for a very long time. ...
    (microsoft.public.dotnet.framework.webservices)
  • Aynchronous web services connection end in Close_Wait state
    ... I have a .NET c# windows application calling a localhost web service ... While still waiting for the result, the user decides to end the ... send the ACK after calling the above Abort? ... state connection will be kept opened for a very long time. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • creating an ofstream in a C++ dll
    ... Has anyone ever successfully created an ofstream within a unmanaged non-COM ... The ofstream works fine when calling it from a windows form....but once I ... returns false (as in "connection failed")...yet the connection is indeed ... Note - the connection call correctly returns true when called from a Windows ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Explorer crashes at least once all the time
    ... Do you really want to trust someone that was banned from posting ... And do you really want to trust someone that has had to change their ... Calling an illegal alien an "undocumented worker" is like calling a ... A .dll file is a special type of Windows program ...
    (microsoft.public.windowsxp.general)
  • RE: Internet Connection Wizard failing at Firewall Config and Secu
    ... Enhanced Security Configuration from Add/Remove Windows Components to ... | calling CNetCommit::ValidateFulltimeConnectionProperties. ... | Call to Reading web publishing selection returned ok. ... | Call to Configuring for fulltime connection returned ok. ...
    (microsoft.public.windows.server.sbs)