wsacleanup Questions

0

I have a Windows socket program (XP and above) that calls WSAStartup. Is it necessary to call WSACleanup before the program exits? If I don't, will there be any negative consequences? In particular...
Boeschen asked 27/1, 2015 at 20:0

3

Is it okay to register WSACleanup through atExit function ? We have several applications that can terminate at different points in the code so we would like to avoid putting WSACleanup everywhere t...
Heartsick asked 9/6, 2009 at 8:25

3

I have a c++ win32 program that uses sockets to download some data from a server. Before using sockets on Windows, WSAStartup must be called. MSDN says: "There must be a call to WSACleanup for eac...
Astrea asked 28/12, 2008 at 18:12
1

© 2022 - 2024 — McMap. All rights reserved.