c语言写的socket程序,在vs2008里可以正常运行,但是通过mingw编译生成的可执行文件,在运行过程中会报错,关闭,makefile 链接了 -lws2_32
http://blog.chinaunix.net/uid-23065002-id-4557735.html