RE: Lost network connection detection



Generally, you would use TCP for any kind of connection oriented programming.
UDP is a one way ticket. The only thing i can think is pinging the server
before sending the packet. Is there a particular advantage that your looking
for that directed you to UDP?

"stgislander" wrote:

I'm forwarding this question from a retired software developer who truthfully
is having a difficult time reading the small text on the forum.

He is sending and receiving UDP packets over a wireless network to control a
semi-autonomous model, and is trying to development a routine that can detect
when the network connection (carrier) is lost and is reestablished. Much
like the balloons that pop up over the network connection icon when the
network cable is unplugged and replugged. If he can detect this, he can
notify the program operator when lost and reset his ports when it returns.
He tells me he has tried a few methods but not seem to work well, so he is
diving back into the Winsock implementation to see if he is missing something.

What is the best way to detect a lost network connection?
.



Relevant Pages

  • Re: Networking Question - VLANs on SBS 2003 Premium SP1
    ... port on the old router so I now have a segregated WLAN. ... be sure you do not enable any DHCP server in internal network. ... On the Connection Type page, click Broadband, and then click Next. ... On the Network Connection, You must enable and configure the network ...
    (microsoft.public.windows.server.sbs)
  • Re: Shared folders are no longer visible
    ... Ethernet adapter Wireless Network Connection: ... Master browser name is: WOLFEKE ... It no longer shows any of the shared folders I ...
    (microsoft.public.windowsxp.network_web)
  • Re: Good wireless signal - but browser cannot find it?
    ... But his browser cannot find any connection and displays the error page ... to just plugging things in and letting Windows do all the rest! ... Right-click the wireless network connection, ... ping resolver1.opendns.com ...
    (microsoft.public.windowsxp.network_web)
  • RE: Cannot Connect via remote desktop
    ... This is router port forwarding issue. ... Microsoft CSS Online Newsgroup Support ... Before you run the Configure E-mail and Internet Connection Wizard, ... Click to clear the My server uses a single network connection for ...
    (microsoft.public.windows.server.sbs)
  • Re: Windows Update
    ... Windows Server 2003, for Windows XP, and for Windows 2000 ... You may need to reduce the MTU ... size of a PPPoE connection to a value of between 1,400 and 1,480 ... for a network connection, double-click the network connection icon, ...
    (microsoft.public.windows.server.sbs)