Ensure our network layer is properly cleaned up before PuTTY exits.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 6 Mar 2002 20:13:22 +0000 (20:13 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 6 Mar 2002 20:13:22 +0000 (20:13 +0000)
commit93b581bd031b2270deb7f45440e61a1044fe94da
tree48c038bd9a91e085d56d3117773071f1bf0446a4
parenta88d77d63c57f69abdb74bd636de334311bd5c11
Ensure our network layer is properly cleaned up before PuTTY exits.
Specifically, we explicitly closesocket() all open sockets, which
appears to be necessary since otherwise Windows sends RST rather
than FIN. I'm _sure_ that's a Windows bug, but there we go.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1574 cda61777-01e9-0310-a592-d414129be87e
15 files changed:
console.c
misc.c
network.h
noise.c
pageant.c
plink.c
psftp.c
putty.h
puttygen.c
scp.c
ssh.c
sshrand.c
windlg.c
window.c
winnet.c