![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
wujinqiao88
这个作者很懒,什么都没留下…
展开
-
C++ 书籍
TCPL和D&E 1:Bjarne Stroustrup, The C++ Programming Language (Special 3rd Edition) 《C++ 程序设计语言(特别版)》,裘宗燕译,机械工业出版社,计算机科学丛书,¥85 另David Vandevoorde, C++ Solutions Companion to The C++ Programming La转载 2014-07-12 11:31:52 · 532 阅读 · 0 评论 -
serverAdd.sin_addr.s_addr
这两天尽忙着看winsock了,玩过它的人都知道正确的填写IP地址是很重要的一个环节。所谓填写IP地址就是指在SOCKADDR_IN结构体中填写IP地址: struct sockaddr_in { short sin_family; u_short sin_port; struct in_addr sin_addr; char转载 2014-07-31 15:38:42 · 1009 阅读 · 0 评论 -
C++ Socket Demo
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 // FileNam转载 2014-07-31 15:43:54 · 661 阅读 · 0 评论 -
Socket发送和接收变长结构体
//Server端代码 [cpp] view plaincopyprint? #include #include #include #include #include #include #include //使用不定长的结构体发送数据的关键在于:结构体变量必须分配到堆中,而不是栈中 //即只能用malloc或者ne转载 2014-08-08 00:38:00 · 3278 阅读 · 0 评论