摘要:
匆忙粘贴复制来的, 有些疏漏,,见谅,,,,wattcp提供的是C函数库,若要编译C++程序,需要在包含头文件前加入如下指令:#ifdef _cplusplusextern "C"{#include "wattcp.h"}#endif 必要时需要打开wattcp.h,在所有函数定义前加上上述语句,并重新编译wattcp库,否则便会在链接时发生错误。dos工控机作为服务器, 监听指定端口:#include "WATTEST.H"#include #include static tcp_Socket s;char send_buff[12 阅读全文
posted @ 2010-03-15 13:38
dos5gw
阅读(234)
评论(0)
推荐(0)
浙公网安备 33010602011771号