             writerSource = DispatchSource.makeWriteSource(fileDescriptor: socket.socketfd,
                                                           queue: IncomingSocketHandler.socketWriterQueue)
             
-            writerSource!.setEventHandler() {
-                self.handleWriteHelper()
-            }
+            writerSource!.setEventHandler(handler: self.handleWriteHelper)
             writerSource!.setCancelHandler() {
                 self.writerSource = nil
             }

            readerSource.setEventHandler() {
                _ = self.handleRead()
            }
            readerSource.setCancelHandler() {
                self.handleCancel()
            }
            readerSource.resume()
        #endif
        

    ///        directly.
    public func handleBufferedReadData() {
        #if os(OSX) || os(iOS) || os(tvOS) || os(watchOS) || GCD_ASYNCH
            if socket.socketfd != Socket.SOCKET_INVALID_DESCRIPTOR {
                socketReaderQueue(fd: socket.socketfd).sync() { [unowned self] in
                    _ = self.handleBufferedReadDataHelper()
                }
            }
        #endif
    }
