WSAStartup and WSACleanup are both functions, so you need to call them from main()/WinMain().
Printable View
WSAStartup and WSACleanup are both functions, so you need to call them from main()/WinMain().
I was dump that did not look at the source code more clearly. OK, Thanks a lot!