"SD_BOTH": undeclared identifier
-
why do i get this message wenn i do this:
shutdown(sock, SD_BOTH);
:wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf: my includes are: #include "stdafx.h" #include "stdio.h" #include "tchar.h" #include "process.h" #include "crtdbg.h" -
why do i get this message wenn i do this:
shutdown(sock, SD_BOTH);
:wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf: my includes are: #include "stdafx.h" #include "stdio.h" #include "tchar.h" #include "process.h" #include "crtdbg.h" -
why do i get this message wenn i do this:
shutdown(sock, SD_BOTH);
:wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf: my includes are: #include "stdafx.h" #include "stdio.h" #include "tchar.h" #include "process.h" #include "crtdbg.h" -
why do i get this message wenn i do this:
shutdown(sock, SD_BOTH);
:wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf: my includes are: #include "stdafx.h" #include "stdio.h" #include "tchar.h" #include "process.h" #include "crtdbg.h"lol, thnx ;P
-
why do i get this message wenn i do this:
shutdown(sock, SD_BOTH);
:wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf: my includes are: #include "stdafx.h" #include "stdio.h" #include "tchar.h" #include "process.h" #include "crtdbg.h"Maybe
#include winsock2.h
will do the trick? There is shutdown declared, according to MSDN.
My opinions may have changed, but not the fact that I am right.
-
why do i get this message wenn i do this:
shutdown(sock, SD_BOTH);
:wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf: my includes are: #include "stdafx.h" #include "stdio.h" #include "tchar.h" #include "process.h" #include "crtdbg.h"This is oddly missing from
winsock.h
, use this instead:shutdown(sock, 2);
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
-
why do i get this message wenn i do this:
shutdown(sock, SD_BOTH);
:wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf::wtf: my includes are: #include "stdafx.h" #include "stdio.h" #include "tchar.h" #include "process.h" #include "crtdbg.h"