undefined reference to `WSAStartup@8'

CodeBlocks - C 프로그래밍(윈도우 기반 TCP/IP 소켓)

 

undefined reference to `WSAStartup@8' 오류 발생

 

 

[build options ] 클릭

 

 

[Linker settings] 탭 [Add] 클릭

 

 

파일 찾기 [...] 클릭

 

 

ws2_32.dll 선택 후 [OK]

 

 

[OK]

 

 

실행

 

+ Recent posts