Re: Simulating a send() with no data

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Adam Ryan wrote:
> Eugene Gershnik
> Nov 3, 6:26 pm show options
>
>> So it doesn't really matter if the client had disconnected or just
>> sits silently doing nothing, right?
>
> yes, if the client disconnects abnormally, then the server needs to
> take active steps immediately to clean up processes. The only way so
> far to tell if the client disconnected is to send the client some
> data. BUT doing this messes up the clients output.

Yes because this is the way TCP/IP works. The connection in TCP/IP is not a
physical thing but an algorithmic "virtual reality".
The only two things you can do is to either rewrite the client or use
timeouts.


--
Eugene
http://www.gershnik.com


.



Relevant Pages

  • Re: XP Pro Client is being disconnected
    ... the cause of intermittent disconnects. ... Please try to disjoin and rejoin the client to the domain. ... Recreate the computer account from Server Management> Client Computers ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: CSocket question
    ... client for some reason disconnects. ... server checks for idle time there can easily be 5-30 connections that are ... connections were actively sending data. ...
    (microsoft.public.win32.programmer.networks)
  • RE: Mapped Drive Connection to Network Share is being disconnected
    ... I did apply the changes to the registry to both client and servers. ... > steps which mentioned in the KB297684 on the server side. ... > before it disconnects a mapped network drive. ...
    (microsoft.public.windowsxp.help_and_support)
  • RE: Mapped Drive Connection to Network Share is being disconnected
    ... It seems that this issue should be caused by Cisco VPN client. ... >> steps which mentioned in the KB297684 on the server side. ... >> before it disconnects a mapped network drive. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: XP Pro Client is being disconnected
    ... Please try to disjoin and rejoin the client to the domain. ... Recreate the computer account from Server Management> Client Computers ... Microsoft CSS Online Newsgroup Support ... <I still have intermittent disconnects from the server. ...
    (microsoft.public.windows.server.sbs)