![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络
文章平均质量分 65
会当凌绝顶,一览众山下
积极进取,胸怀梦想。
展开
-
unp 源码引用步骤(centos8)
0、参考README步骤1.下载unpv13e,解压,运行命令./configure2.编译(可能需要安装make)3、处理第二步编译时出现的类型不一致的问题(1)异常现象截图(2)处理,修改,然后重新编译 inet_ntop.c中的inet_ntop函数中size的类型,inet_ntop 4、进入libroute编译,出错(暂时不用理会)5、后续处理(1)拷贝(2)修改/usr/include/unp.h中两行代码原创 2020-11-09 10:58:28 · 175 阅读 · 0 评论 -
Five I/O Models
five I/O models that are available under Unix:blocking I/O nonblocking I/O I/O multiplexing(select and poll) signal driven I/O(SIGIO) asynchronous I/O (the POSIX aio_functions)原创 2020-09-18 16:40:51 · 95 阅读 · 1 评论 -
netty实现https服务器简单demo
(一)、代码结构(SslServer,HttpsCodecInitializer)(二)、SslServer.javapackage com.lb.nettyinaction;import java.io.FileInputStream;import java.security.KeyStore;import javax.net.ssl.KeyManagerFactory;import io.netty.bootstrap.ServerBootstrap;import io.n原创 2020-09-03 11:27:27 · 835 阅读 · 0 评论 -
NAT穿透实现的一种方案设计
原创 2020-08-11 10:28:59 · 182 阅读 · 0 评论