笔记
法外狂驼骆老八
17级网络工程
展开
-
webrtc 官网例程,为方便查看,进行转载
转载,来源见下面,手机上编辑好像不能改成转载10.2 Advanced Peer-to-peer Example with Warm-up https://www.w3.org/TR/webrtc/#advanced-peer-to-peer-example-with-warm-upWhen two peers decide they are going to set up a connection to each other and want to have the ICE, DTLS, and m转载 2021-04-20 02:21:22 · 232 阅读 · 0 评论 -
epoll管理建立SSL连接的socket(使用openssl)
使用openssl在socket上建立SSL连接,使用epoll管理连接的socket,并且实现openssl提供的客户端及服务端双向认证;简单的小例子,不足之处请在评论区提出。服务端注意:服务端所开放端口、CA公钥文件、服务端自身的公钥及私钥文件均在代码中定义,如与代码中的不同请注意修改#include <openssl/ssl.h>#include <openssl/err.h>#include <sys/types.h>#include <s.原创 2020-11-26 20:53:41 · 1706 阅读 · 0 评论