Notification when network connection loss...

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

From: Nutty103 (Nutty103_at_discussions.microsoft.com)
Date: 08/31/04


Date: Tue, 31 Aug 2004 08:55:15 -0700

I am working on an application that communicates with server. I have a socket
connection established with the server from the CE device. I run in to
problem whenever there is a connection loss.

The send and recv calls of sockets don't realize the connection loss for
long time. I have read that it takes upto 2 hours for TCP request to die
before the CE device can realize the network loss. Is this true? One solution
could be to use PING, but it is not a suitable option.

I really appreciate any help.

Thanx.
Nutty103@yahoo.com



Relevant Pages

  • Re: Socket Exception
    ... In this case the server most likely rejected your ... connection. ... Each command is a new socket connection that is opened and closed ... /// Required designer variable. ...
    (microsoft.public.win32.programmer.networks)
  • Re: ASP.NET 2.0 - a newbie question
    ... Is there some experienced ASP.NET 2.0 developer, ... server that comes bundled Microsoft VWDE. ... A connection attempt failed because the ... connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& ...
    (microsoft.public.dotnet.framework.aspnet)
  • error when move web service from dev machine to test server
    ... I have a simple web service that I developed on my laptop that resides ... test server, & when I try to run it, I get the error "No connection could be ... No connection could be made because the target machine actively refused it ... Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Messaging alert
    ... I was hopping that I could use sockets to create a connection back and forth in order to send the message. ... I want to be able to send a file name and other information thru the client socket to then process in the servers. ... fileevent $sock w ... At the server side I am listening at the port and execute Accept2 when the socket is created. ...
    (comp.lang.tcl)
  • Re: Strange server socket behaviour
    ... asynchronous server socket: ... I already have a perfectly working server that uses asynchronous sockets ... Why should the remote client close the connection? ... when a .NET client connects. ...
    (microsoft.public.dotnet.framework)