반응형
soc.obj : error LNK2001: unresolved external symbol __imp__WSAGetOverlappedResult@20
soc.obj : error LNK2001: unresolved external symbol __imp__WSAWaitForMultipleEvents@20
soc.obj : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0
soc.obj : error LNK2001: unresolved external symbol __imp__WSASend@28
soc.obj : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
soc.obj : error LNK2001: unresolved external symbol __imp__connect@12
soc.obj : error LNK2001: unresolved external symbol __imp__htons@4
soc.obj : error LNK2001: unresolved external symbol __imp__inet_addr@4
soc.obj : error LNK2001: unresolved external symbol __imp__WSASocketA@24
등의 오류가 날때
VC의 Project Settign 메뉴에서
Link -> Object,Library module 에
ws2_32.lib를 넣어 주던가
아니면 소스중
#pragma comment(lib, "ws2_32");를 넣어 준다!!
결론적으로 라이브러리를 못찾아서 나는 오류이다
반응형
'개발 TIP > Error 모음' 카테고리의 다른 글
fatal error C1010 해결 방안 (0) | 2011.02.14 |
---|---|
런타인 오류란(Runtime Error)? (0) | 2011.02.11 |
LNK2005 링커 도구 오류 (0) | 2011.01.31 |
warning C4996: was declared deprecated 해결법 (0) | 2011.01.28 |
warning C4129 (0) | 2011.01.25 |
댓글