cham-pin
cham-pin
> https://github.com/gnet-io/gnet-examples/blob/master/examples/push/push.go 我可能更需要直接调用 func (c *conn) write(buf []byte) (err error) 这个方法 异步的可能对延迟有一定影响
> https://github.com/gnet-io/gnet-examples/blob/master/examples/push/push.go 由于我走的域通信, 网络只是用来传输消息头, 然后通过共享内存实现消息的通信. 所以网络传输量不多, 但是很频繁
理解, 既然unix域通信无法获取RemoteAddr, 那么能不能添加获取fd的方法, 这样我就能map了
谢谢我看到了, 但是我看没有后台执行的接口 | | chenbin200818 | | ***@***.*** | 签名由网易邮箱大师定制 在2021年3月16日 08:45,朱天龙 ***@***.***> 写道: 可以直接参考 linux 的那个 demo — You are receiving this because you authored the thread. Reply to...