我在函数里使用了htonl、 htons,和ntohl函数,已经包含了 winsock2.h文件,为什么编译时出现 “error LNK2001: unresolved external symbol __imp__ntohl@4”错误,请问怎么解决?
谢谢!!