> But the SocketLib library is linked correctly otherwise I'd get an error at
> the very first #include "SocketLib.h" and I don't.
#include
is a preprocessor directive. All you know is that the header file (the *.h) exists and it is found.
You don't get compile errors either. Headers files give you the prototype of the functions, so you know their name, and the number and type of parameters that need. So all you know is that you are calling the function correctly.
What you need are the definitions of the functions, their body. And you don't have that or you didn't specify which file has it (*.cpp, *.o, *.a, *.dll), that's why you get a link error.
> But the SocketLib library is linked correctly
You got an error. That may be because you made a mistake or because the library is bad implemented.
¿Do you consider you post sufficient to help you whatever the reason may be?
¿what library are you using? ¿where can we get it?
¿how are you building your project? ¿what commands are executed?
¿what part of all that code is yours? ¿what can you modify?
> unresolved external symbol SocketLib::DataSocket(unsigned int) referenced in function _main
don't see where you are calling that function in main.
but well, eyes cannot be trusted, would like to be able to build your project.
https://github.com/