Advertisement

Reset Socket w/o Disconnection :: Winsock

Started by January 19, 2003 11:21 AM
1 comment, last by kuphryn 22 years ago
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
No, I don''t think there''s any way to do this. You''d have to call closesocket() and then connect to the server from scratch. It shouldn''t take too long provided you avoid host name lookups.
Advertisement
Okay. Thanks.

Kuphryn

This topic is closed to new replies.

Advertisement