     }
     
     func didTouchSend(sender: AnyObject?) {
-        socket.emit(.ChatMessage, withMessage: "I'm iOS")
+        socket.emit(.GetImage, withMessage: "I'm iOS")
     }
     
     

        window?.makeKeyAndVisible()
        window?.rootViewController = start()
        
        socket = SocketIO(url: "http://localhost:8000/")
        
        socket.on(.ConnectError) {
            switch $0 {

    enum Events: String, Printable {
        
        case ChatMessage = "chat message"
        case GetImage = "getimage"
        case Image = "image"
        
        var description: String {
            return self.rawValue
