Result of execution of this simple test looks strange.
Seemes, that new resets SocketError.
MSVC works another way..
Are there any workaround ?
int t1 = WSAGetLastError();
int *t = new int;
int t2 = WSAGetLastError();
printf("%d, %d\n", t1, t2);
Get latest updates about Open Source Projects, Conferences and News.