-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot send Ping Frame #6
Comments
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. |
It still happends. |
In WebsocketFrame class,Send() function, if the Frame to send is an ping frame,the 'data' (defined in line168) would not be initized. It works fine:) |
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(); |
Just committed the fix and uploaded a new .swc and .air file to the Downloads section. |
When use ws.ping(),A null pointer error occurred.
The text was updated successfully, but these errors were encountered: