更新时延计算
This commit is contained in:
@@ -195,6 +195,7 @@ func (c *Client) nextMessageID() uint64 {
|
||||
return atomic.AddUint64(&c.nextID, 1)
|
||||
}
|
||||
|
||||
// 根据提供的选项创建 TCP 连接,并进行必要的配置,例如绑定本地 IP 或网卡。成功建立连接后,返回一个封装了该连接的 TCPConn 实例。
|
||||
func dialServerWithOptions(serverAddr string, options clientOptions) (net.Conn, error) {
|
||||
dialer, err := buildDialer(options)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user