jom_ch

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年9月7日

摘要: main.cpp#include <iostream>#include <tcp_client.h>using namespace std;int main(int argc,char* argv[]){ tcp_client tc(argv[1],argv[2]); return 0;}tcp_client.h#include <unistd.h>#include <iostream>#include <sys/socket.h>#include <arpa/inet.h>#include <errno.h> 阅读全文
posted @ 2012-09-07 19:26 jom_ch 阅读(968) 评论(0) 推荐(0) 编辑