I'm trying to Build a program that uses sockets to communicate with another program, but when I get to the link portion of the build, I get the following errors:
Code:
Linking...
BAESocket.obj : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0
BAESocket.obj : error LNK2001: unresolved external symbol __imp__WSACleanup@0
BAESocket.obj : error LNK2001: unresolved external symbol __imp__closesocket@4
BAESocket.obj : error LNK2001: unresolved external symbol __imp__socket@12
BAESocket.obj : error LNK2001: unresolved external symbol __imp__WSAStartup@8
BAESocket.obj : error LNK2001: unresolved external symbol __imp__bind@12
BAESocket.obj : error LNK2001: unresolved external symbol __imp__listen@8
BAESocket.obj : error LNK2001: unresolved external symbol __imp__connect@12
BAESocket.obj : error LNK2001: unresolved external symbol __imp__accept@12
BAESocket.obj : error LNK2001: unresolved external symbol __imp__send@16
BAESocket.obj : error LNK2001: unresolved external symbol __imp__select@20
BAESocket.obj : error LNK2001: unresolved external symbol __imp__recv@16
BAESocket.obj : error LNK2001: unresolved external symbol __imp__sendto@24
BAESocket.obj : error LNK2001: unresolved external symbol __imp__recvfrom@24
BAESocket.obj : error LNK2001: unresolved external symbol __imp__getpeername@12
BAESocket.obj : error LNK2001: unresolved external symbol __imp__getsockname@12
BAESocket.obj : error LNK2001: unresolved external symbol __imp__htons@4
BAESocket.obj : error LNK2001: unresolved external symbol __imp__gethostbyname@4
BAESocket.obj : error LNK2001: unresolved external symbol __imp__gethostbyaddr@12
Debug/FTI_SCU.exe : fatal error LNK1120: 19 unresolved externals
Error executing link.exe.
My BAESocket class references the listed functions, minus the __imp__ (e.g., my function calls htons() vice __imp__htons()).

I've tried adding ws2_32.lib to the "additional library path" field in the Input Category of the Link Tab in Project Settings without luck.

What do I need to do to get my program to link?