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. Advertising

  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. Advertising

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. Kathryn Bean
    Replies:
    1
    Views:
    668
    John Harrison
    Oct 28, 2004
  2. johnny
    Replies:
    1
    Views:
    769
    Jerry Hill
    Dec 8, 2006
  3. Tiger
    Replies:
    5
    Views:
    947
    Dave Thompson
    May 1, 2006
  4. Madhur
    Replies:
    1
    Views:
    248
  5. shmuel witman

    Connection timeout (connection closing after 100 sec )

    shmuel witman, Dec 4, 2005, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    760
    shmuel witman
    Dec 6, 2005
Loading...

Share This Page