                 recvBuffer = Data()
             }
             recvBuffer?.append(data!)
-           //AxLogger.log("\(cIDString)  .Auth  respon buf \(recvBuffer)",level: .Trace)
+           AxLogger.log("\(cIDString)  .Auth  respon buf \(recvBuffer as? NSData)",level: .Trace)
             guard var buffer = recvBuffer else {return }
             let version : UnsafeMutablePointer<UInt8> =  UnsafeMutablePointer<UInt8>.allocate(capacity: 1)
             buffer.copyBytes(to: version, count: 1)

                    length.deallocate(capacity: 1)
                    port.deallocate(capacity: 1)
                }else if type.pointee == SOCKS_IPV6 {
                    //AxLogger.log("\(cIDString) Bind respond ipv6 currnetly don't support",level:.Error)
                }
                
                stage = .Connected
               //AxLogger.log("\(cIDString) recv .Bind respon and Connected now \(recvBuffer)",level: .Debug)
                sock5connected()
                reserved.deallocate(capacity: 1)
                type.deallocate(capacity: 1)
            }else {
               //AxLogger.log("\(cIDString) don't recv .Bind respon",level: .Debug)
            }
            version.deallocate(capacity: 1)
            result.deallocate(capacity: 1)

            if let data =  toIPv6Addr(ipString: targetHost) {
                
             
               AxLogger.log("\(cIDString) convert \(targetHost) to Data:\(data)",level: .Info)
                buffer.append(data)
                //buffer.append(targetPort.byteSwapped)
            }else {
               AxLogger.log("\(cIDString) convert \(targetHost) to in6_addr error )",level: .Warning)
                return
            }
            
