We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tcp 服务器, 通过Session , 如何能够获取对端地址 ? 代码看了下, 感觉封装层次太深了, 没法直接获取 net.Conn, 然后调用 conn.RemoteAddr()
The text was updated successfully, but these errors were encountered:
目前只能自己实现Codec,然后在Codec保存net.Conn, 通过 session.Codec().Conn().RemoteAddr()
Sorry, something went wrong.
No branches or pull requests
tcp 服务器, 通过Session , 如何能够获取对端地址 ? 代码看了下, 感觉封装层次太深了, 没法直接获取 net.Conn, 然后调用 conn.RemoteAddr()
The text was updated successfully, but these errors were encountered: