yeah... to help him out, explaining the basics..
When a compiler generates such errors it's (very often) because it doesn't recognise the used commands/variables/ops/function calls
.
In your case, the unrecognized are:
_listen@8
_closesocket@4
and so on... (you get it)..
those function calls are surely, like SilentRage said, defined in the wsock32.lib .....
Yep...
that's why.
Hope you got some light into it,,,