Comments (4)
Thanks again.
I will check what you mentioned
from gdx-lml.
I think someone had a similar problem.
GWT does not support IO.Socket
, as you've noticed. This library is a barebones web socket client implementation. To be honest, I haven't used Socket.IO
myself, but if it adds anything on top of regular web sockets protocol, I'm pretty sure this library would be incompatible. Socket.IO
should have a native JS client, so you can try to use that via GWT native calls. Here's an example of blending native JS and GWT-compiled Java.
Or you could build your web socket server with Java/Kotlin/any other JVM language. You could try sharing some common logic between your client and server if you decide to switch. I recommend looking into Vert.x.
from gdx-lml.
Hi thanks for the reply.
So gdx-websocket is not for I want it? To connect to a server like the JavaScript or IO.Socket(Java) samples.
The server is not mine.
Thanks
from gdx-lml.
gdx-websocket
lets you connect with any web socket server, but I don't think it supports whatever protocol Socket.IO
adds on top of that. Instead, I recommend using IO.Socket
for desktop/mobile and native JS client on GWT/HTML.
from gdx-lml.
Related Issues (20)
- Better websocket error handling
- Inconsistent behavior with percentage values HOT 1
- [WebSocket] get the nvmWebsocket instance HOT 14
- [Autumn] Components initiated 2 times HOT 3
- Window element disappears when changing skin HOT 5
- How to dispose batch of stage? HOT 2
- kiwi logger can not be used with LML Basic Template HOT 1
- pls help me the gwt websoket Thread is not supported HOT 5
- Why the background cover the LmlView HOT 4
- websocket with GWT HOT 7
- Access object field in a loop HOT 4
- FastClasspathScanner is outdated -- consider porting to ClassGraph
- gdx-lml multiple (Sub)View classes for a single view HOT 2
- Project still active? HOT 1
- List of lml tags HOT 2
- Tag Creation At Runtime HOT 14
- Invalid enum ordinal HOT 4
- Malformed snapshot JAR HOT 8
- Autumn as used in Liftoff not working due to incorrect include 1.9.1.9.6 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdx-lml.