             } else {
                 outSocket = CFSocketCreate(kCFAllocatorDefault, PF_INET, 0, 0, 2, handleConnectionAccept, UnsafePointer<CFSocketContext>($0));
             }
-            let flags = CFSocketGetSocketFlags(outSocket)
-            CFSocketSetSocketFlags(outSocket, flags | kCFSocketAutomaticallyReenableAcceptCallBack)
             
             var sincfd : CFData?
             if isV6 {

            }
        }
        if error == nil {
            let socketSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, outSocket, 0)
            CFRunLoopAddSource(transportRunLoop, socketSource, kCFRunLoopDefaultMode)
        }

        if let error = initSocket() {
            return error
        }
//        if let error = initSocketV6() {
//            return error
//        }
        return nil
    }
    
