SNLicense网络授权流程
2018-03-18 21:26:45 0 举报
登录查看完整内容
SNLicense网络授权流程
作者其他创作
大纲/内容
读取成功?
线程2创建TCP监听本地的18080端口等待客户端的连接
退出
客户端N
Y
线程1定时每5分钟检查一次加密狗
启动服务
客户端3
客户端2
N
客户端连接后,获取授权的配置,然后保持每一分钟和服务器保持一次心跳,否则自动断开连接
客户端1
选择功能
服务启动失败
...
旧版的加密狗没最大客户端限制的字段,会使用默认配置限制200个客户端连接
打印可用的服务器ip和端口
网络授权流程
线程3创建UDP监听本地的18081端口等待和别的授权服务器进行通讯
是否还能读取到加密狗
客户端一旦断开连接如果在指定的时间内无法重新连接,则客户端进程就会退出
读取授权配置以及最大客户端限数
线程3的作用是为了,让别的授权服务程序访问本服务的客户端连接信息
读取加密狗
广播搜索可用的授权服务器
开始
打印指定ip的授权服务的连接信息
创建多线程
收藏
0 条评论
回复 删除
下一页