title: Swift Socket IO: Event Handler not called
body: <p>I m working with SocketIO and everything working fines like connection, send data from iOS to Android but when android send data to iOS device that time socket io event handler method not called. I have seen the below logs but method not called.</p>
  
  <pre><code>LOG SocketEngine: Writing poll:  has data: false
  LOG SocketEnginePolling: Sending poll:  as type: 2
  LOG SocketEnginePolling: Created POST string: 1:2
  LOG SocketEnginePolling: POSTing
  LOG SocketEnginePolling: Doing polling request
  LOG SocketEnginePolling: Got polling response
  LOG SocketEnginePolling: Doing polling request
  LOG SocketEngine: Got message: 3
  </code></pre>
  
  <p>Code Snippet:</p>
  
  <pre><code>socket.connect()
  socket.on("connect") {data, ack in
      if Id &gt; 0 {
          SocketIOManager.sharedInstance.connectToServerWithId(String(Id), completionHandler: {
              (userList) -&gt; Void in
          })
      }
  }
  socket.on("result") { (dataArray, socketAck) -&gt; Void in
      NotificationCenter.default.post(name: NSNotification.Name(rawValue: "receivedResultNotification"), object: dataArray[0] as! [String: AnyObject])
  }
  </code></pre>
  
  <p>Any help that would great for me.</p>