vs2013 类名黑色,修改不起作用,最后找到解决办法. http://stackoverflow.com/questions/10970305/how-can-i-get-user-type-c-sharp-syntax-highlighting-working-again-in-vs-2012-rc ---------------- Here is a simple solution. Go to the directory where devenv is (for 2012 RC), an
參考: 网络编程–IO模型演示样例 几种server端IO模型的简介及实现 背景知识 堵塞和非堵塞 对于一个套接字的 I/O通信,它会涉及到两个系统对象.一个是调用这个IO的进程或者线程,还有一个就是系统内核. 比方当一个读操作发生时.它会经历两个阶段: ①等待数据准备 (Waiting for the data to be ready) ②将数据从内核复制到进程中 (Copying the data from the kernel to the process) 堵塞,在linux中,默认情况
关于什么是UNIX域套接字可以参考:http://www.cnblogs.com/xcywt/p/8185597.html这里主要介绍非命名的UNIX域套接字的用法.1.socketpair函数先看man手册: SYNOPSIS #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> int socketpair(int domain, int type, i