 
      - parameter socket: The connected socket.
      */
-    open func didConnect(_ socket: RawTCPSocketProtocol) {
+    open func didConnectWith(socket: RawTCPSocketProtocol) {
 
     }
 

     - parameter withTag: The tag given when calling the `readData` method.
     - parameter from:    The socket where the data is read from.
     */
    open func didReadData(_ data: Data, withTag tag: Int, from: RawTCPSocketProtocol) {
        observer?.signal(.readData(data, tag: tag, on: self))
    }

    /**
     The socket did send some data.

     - parameter data:    The data which have been sent to remote (acknowledged). Note this may not be available since the data may be released to save memory.
     - parameter withTag: The tag given when calling the `writeData` method.
     - parameter from:    The socket where the data is sent out.
     */
    open func didWriteData(_ data: Data?, withTag tag: Int, from: RawTCPSocketProtocol) {
        observer?.signal(.wroteData(data, tag: tag, on: self))
    }

    /**


     - parameter socket: The socket which did disconnect.
     */
    open func didDisconnectWith(socket: RawTCPSocketProtocol) {
        _status = .closed
        observer?.signal(.disconnected(self))
        delegate?.didDisconnectWith(socket: self)
    }

    /**
