win socket

#pragma comment(lib, "ws2_32") #include <WinSock2.h> int main(int argc, char *argv[]) { WSADATA wsa; if(WSAStartup(MAKEWORD(2,2), &wsa) != 0) return 1; MessageBox(NULL, "윈속 초기화 성공", "알림", MB_OK); WSACleanup(); return 0; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.