Closing TCP Connection

Discussion in 'ASP .Net Web Services' started by Mike King, Sep 2, 2005.

  1. Mike King

    Mike King Guest

    How do I close the TCP/IP connection to a web server/web service? I have
    noticed when I make a SOAP request, a connection is create with the server
    and it never closes until the calling application is close. I know this
    because I am watching the IIS performace counter called "Current
    Connections". Does anyone know how to close the connection?
     
    Mike King, Sep 2, 2005
    #1
    1. Advertisements

  2. Mike King

    Mike King Guest

    I solved my problem by disabling "HTTP Keep-Alives" on the server.

    "Mike King" <> wrote in message
    news:%...
    > How do I close the TCP/IP connection to a web server/web service? I have
    > noticed when I make a SOAP request, a connection is create with the server
    > and it never closes until the calling application is close. I know this
    > because I am watching the IIS performace counter called "Current
    > Connections". Does anyone know how to close the connection?
    >
     
    Mike King, Sep 6, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dan Walls
    Replies:
    1
    Views:
    591
    Ken Schaefer
    Jan 23, 2004
  2. Kathryn Bean
    Replies:
    1
    Views:
    807
    John Harrison
    Oct 28, 2004
  3. =?Utf-8?B?Vk1J?=

    Closing popup window when closing parent window?

    =?Utf-8?B?Vk1J?=, Feb 14, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    915
    Thomas Hansen
    Feb 15, 2007
  4. johnny
    Replies:
    1
    Views:
    930
    Jerry Hill
    Dec 8, 2006
  5. Tiger
    Replies:
    5
    Views:
    1,237
    Dave Thompson
    May 1, 2006
  6. Madhur
    Replies:
    1
    Views:
    305
  7. shmuel witman

    Connection timeout (connection closing after 100 sec )

    shmuel witman, Dec 4, 2005, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    1,671
    shmuel witman
    Dec 6, 2005
  8. thomas
    Replies:
    0
    Views:
    432
    thomas
    Oct 23, 2003
Loading...