   fileprivate let CTLIOCGINFO: CUnsignedLong = 0xc0644e03
   fileprivate weak var delegate: SwiftDSSocketDelegate?
   fileprivate weak var delegateQueue: DispatchQueue?
-  fileprivate var shouldRead = false
   fileprivate var socketType: SocketType = .tcp
   fileprivate var acceptDispatchSource: DispatchSourceRead?
   fileprivate var readDispatchSource: DispatchSourceRead?

      status = .closed
    }

    delegateQueue?.async {
      self.delegate?.socket?(sock: self, didCloseConnection: error)
    }

  #if os(macOS)
  public func connect(tobundleName bundleName: String) throws {
    try socketQueue.sync {
      guard socketType == .kernel && (status == .initial || status == .closed) else { throw SocketError(.socketErrorIncorrectSocketStatus) }
      readQueue.removeAll()
      writeQueue.removeAll()
      var sockAddrControl = sockaddr_ctl()
