[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Patch: Call WSACleanup for Windows when sockets finished
From: |
Yuxi Hao |
Subject: |
Re: [Bug-wget] Patch: Call WSACleanup for Windows when sockets finished |
Date: |
Tue, 28 Nov 2017 21:10:18 +0800 |
Good! Seems you are right, though it's a little tricky ... So, ignore my
previous post.
> -----Original Message-----
> From: Gisle Vanem
> Sent: 2017年11月28日 19:47
> To: Yuxi Hao
> Subject: Re: [Bug-wget] Patch: Call WSACleanup for Windows when sockets
> finished
>
> > MSDN says the application must call WSACleanup to deregister itself
> > from a Windows Sockets implementation and allow the implementation to
> > free any resources allocated on behalf of the application or DLL.
>
> It already does that via the 'atexit(ws_cleanup);' call.
>
> --
> --gv