socket.io GWT的源代码

时间:2016-09-18 12:22:12

标签: gwt socket.io libgdx

我正在与GDX进行多人游戏。它适用于桌面/ android,但是当我想用GWT编译它时,我得到了这个错误:

[ERROR] Line 24: No source code is available for type io.socket.client.Socket; did you forget to inherit a required module?
      [ERROR] Line 69: No source code is available for type io.socket.client.IO; did you forget to inherit a required module?
      [ERROR] Line 79: No source code is available for type io.socket.emitter.Emitter.Listener; did you forget to inherit a required module?

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

Socket.io与GWT不兼容。考虑使用不同的框架,例如Atmosphere