Thread: Reset Socket w/o Disconnection :: Winsock

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

    Reset Socket w/o Disconnection :: Winsock

    Hi.

    I would like to is there a way to "reset" a active socket during data transfer without disconnecting it from the server or client? For example, given a socket is connected to www.google.com and is processing incoming data. Now the program wants to stop all data transfer at a given moment without disconnecting from Google.

    One reason is time and speed. Stopping data tranfer via disconnection takes time because the program has to then reconnect to the server or client.

    Thanks,
    Kuphryn

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Well I would have thought given the nature of HTTP connections (They are not persistent) that would be impossible. The protocol does not allow for idle connections.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Interesting. Thanks.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help problem in winsock code
    By lolguy in forum C Programming
    Replies: 8
    Last Post: 02-12-2009, 07:33 PM
  2. Winsock issues
    By tjpanda in forum Windows Programming
    Replies: 3
    Last Post: 12-04-2008, 08:32 AM
  3. How to initialize a non blocking socket using only winsock library
    By *DEAD* in forum Networking/Device Communication
    Replies: 4
    Last Post: 01-18-2008, 07:03 AM
  4. Winsock Socket Model
    By Eibro in forum Networking/Device Communication
    Replies: 1
    Last Post: 07-11-2003, 01:07 PM
  5. Varifying Socket Connection :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 3
    Last Post: 05-11-2002, 03:26 PM