摘要: int r = 0; long o = 1; socklen_t ol = sizeof(long); r = setsockopt(sck, IPPROTO_TCP, TCP_NODELAY, (char*)&o, ol); if (r == -1) printf("setsockopt(n... 阅读全文
posted @ 2012-11-22 22:29 wangicter的博客 阅读(480) 评论(0) 推荐(0) 编辑