我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

我如何在golang中接收到通知sctp连接已打开/关闭/重新启动

I am using the sctp package described in this link to implement an SCTP server: https://godoc.org/github.com/ishidawataru/sctp

I am fairly new to Golang and cannot find examples of how the SubscribeEvents is to be used. I believe it is using setsockopt() for the underlying socket but not sure how notifications are passed to the upper layer applications for processing. Any clues?

近期文章

  • 生成与authy桌面相同的otp代码
  • 将https GET请求路由到特定地址
  • Gorm无法连接到本地Postgres数据库
  • Tendermint通过节点访问leveldb
  • 使用sendgrid发送ssl电子邮件而没有完成
  • 用gorm插入数据时,检查不存在相同的检查
  • 无法在自定义Elastic Beat中从fields.yml生成映射
  • 如何在Golang中编写函数来处理两种类型的输入数据
  • 用主键和排序键上的两个条件查询表
  • 如何设置SA_ONSTACK标志
  • Yaml的数组-Golang
  • 嵌套的XML / JSON结构标签,定义结构的正确方法是什么?
  • Golang MongoDB导入问题
  • WritersCanShare-Google Drive API
  • 随客户删除作业
  • go / pkg / tool / linux_amd64 / link:运行gcc失败:退出状态1 / usr / bin / ld:找不到-lgdal
  • 如何使用WSL正确配置Visual Studio代码远程开发以调试Go应用?
  • 如何计算尽可能晚在通道上发送的消息?
  • 如何使用官方MongoDB Go驱动程序的FindOne()函数从mongoDB获取完整文档
  • 带条件复制目录

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华