Comments (5)
I haven't experienced this problem, but I took the opportunity to add events for ping and pong frames received, and to extend the API to allow you to optionally include a ping payload. Go ahead and try it again.
from as3websocket.
It still happends.
from as3websocket.
In WebsocketFrame class,Send() function, if the Frame to send is an ping frame,the 'data' (defined in line168) would not be initized.
My soludion is add this in line 228:
data = new ByteArray();
It works fine:)
from as3websocket.
Ah good catch. I was testing after my changes by including a payload to the call to ping(), i.e.:
var data:ByteArray = new ByteArray();
data.writeMultiByte("some data", "utf-8");
websocket.ping(data);
from as3websocket.
Just committed the fix and uploaded a new .swc and .air file to the Downloads section.
from as3websocket.
Related Issues (20)
- enableDeflateStream error HOT 1
- Unable to connect HOT 2
- Endianness of binary data
- SHA1 cannot hash correctly HOT 2
- SHA1 error in AS3 Projects HOT 1
- AIR SKD 3.4 complie error
- Server HOT 1
- Type Coercion random Error
- connect websocket error
- Connecting to latest socketIO server works, but I get disconnected immediately HOT 1
- Deflate stream HOT 3
- AIR for mobile problem HOT 3
- Can't connect when embedded
- not connecting HOT 1
- Failed to connect Spring Boot 1.4.2 (Tomcat 8.5.6) HOT 4
- Excessive TLS Record length HOT 1
- Change Policy Server
- Connect to Autobahn with Subscribe HOT 3
- [BUG?] Client not telling server to close, server not detecting "close" event. HOT 7
- Request for Guidance on Upgrading to TLS 1.2 HOT 1
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 as3websocket.