摘要: socket.setsockopt(level,optname,value) ↑ ↑ ↑ →[SO_KEEPALIVE , ↑ SO_LINGER , ↑ SO_RCVBUF , ... 阅读全文
posted @ 2016-01-15 12:39 Cheetos 阅读(216) 评论(0) 推荐(0)
摘要: 信号:进程之间通讯的方式,是一种软件中断。一个进程一旦接收到信号就会打断原来的程序执行流程来处理信号。ntohs =net to host short int 16位htons=host to net short int 16位ntohl =net to host long int 32位htonl... 阅读全文
posted @ 2016-01-15 11:47 Cheetos 阅读(158) 评论(0) 推荐(0)