Hello,this is my first post on this forum.

I started using Qt Creator(on Windows) and I have a problem.I found a source code(pure c++) on internet,and tried it to compile with Qt Creator(chose build item from the menu) .It gave these problems:

"
...PracSockWin.cpp:39: undefined reference to `gethostbyname@4'
...PracSockWin.cpp:47: undefined reference to `htons@4'
...PracSockWin.cpp:62: undefined reference to `socket@12'
...PracSockWin.cpp:88: undefined reference to `inet_ntoa@4'
"
It found many of these type errors,what should I do?