Re: $100 reward for socket disconnection help



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Denny,

Could I suggest that you run Ethereal ( http://www.ethereal.com/ ) to
determine if the problem does indeed lies with a bug in the routers NAT
firmware or a misunderstanding of what is occurring in the TCP/IP stack
(Note that Ethereal needs the Pcap packet capture drivers installed,
they are available from the ethereal site).

Although the symptoms point the finger at the router, problems like
these can often originate back to things like connections sitting in the
FIN_WAIT_x states on one of the machines, especially when you mention
things like it rectifying itself after a number of minutes. Im not
saying it is, but when you have a tricky situation like this its often
helpful to definitively isolate the problem. It could indeed be a bug in
the router's NAT firmware that is somehow being jolted back alive by a
UPnP request from the AOL app.

It would be worthwhile running Ethereal on both machines during a
connection attempt, and setting up an appropriate capture filter to only
catch those packets from/to the client and server, and possibly the AOL
connection attempts as well. That way you can get more information about
what is actually occurring on the wire to trigger the reconnection (or
lack-thereof).

Points to consider (not sure how much you understand TCP/IP. Please
ignore me if any of this is blatantly obvious to you)...

*) Is your applet attempting to connect using the same outbound port
each time?

*) When detecting the connection timeout (via the exception), are you
still forcably closing your socket in a "finnally" block to ensure the
TCP stack is left in the right state.

*) I had something else in mind but forgot. Will follow-up when I
remember :)



(BTW, I don't expect any reward for this suggestion, I guess it should
be you would call "common knowledge")


Kind regards,

Lee

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkKEfqQACgkQhbcFpQga0LBYkwCgnXN0cOgdZXQd89wivI4TKsno
e5UAniovZEGY7VBiL/IHjBT3U4qui9Ga
=HCan
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: Lan setup 2 nic
    ... nic, the selection look just like the ones for the internal nic, In other ... When I select the TCP/IP ... item below either one of those items (Client for MS networks or printer ... Error 0x80072581 returned from call to Configuring for router connection(). ...
    (microsoft.public.windows.server.sbs)
  • RE: svchost.exe Application Error.
    ... Description: Net Win32 API DLL ... P.S the NetBio over TCP/IP is on the Internet Protocol TCP/IP properties, ... you gone to the Network connection and Right click your Wireless/Wired LAN, ...
    (microsoft.public.windowsxp.network_web)
  • RE: svchost.exe Application Error.
    ... Description: Net Win32 API DLL ... P.S the NetBio over TCP/IP is on the Internet Protocol TCP/IP properties, ... you gone to the Network connection and Right click your Wireless/Wired LAN, ...
    (microsoft.public.windowsxp.network_web)
  • RE: svchost.exe Application Error.
    ... Description: Net Win32 API DLL ... P.S the NetBio over TCP/IP is on the Internet Protocol TCP/IP properties, ... you gone to the Network connection and Right click your Wireless/Wired LAN, ...
    (microsoft.public.windowsxp.network_web)
  • Re: DELL SC430 & ahd0: <Adaptec 39320A Ultra320 SCSI adapter>
    ... >> to send 77 transactions to your drive during a single connection. ... this looks like a drive firmware bug. ... >> should contact Dell to find out if newer firmware is available for your ... > supported by dell -directed me to adaptec. ...
    (freebsd-stable)