Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Problem with websocket connect method
Re: Problem with websocket connect method [message #49483 is a reply to message #49016] Fri, 16 February 2018 13:43 Go to previous messageGo to previous message
uppjj is currently offline  uppjj
Messages: 9
Registered: February 2018
Location: France
Promising Member
Hello

I found a little bug on Websocket class, Pong and Close message require bit FIN, =>SendRaw(PONG, data) should be SendRaw(FIN|PONG, data) otherwise remote socket close connection with 1002 code (protocole error).

You should also add "void Ping(const String& data) { SendRaw(FIN|PING, data); }" useful to check connection

JJ
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug with FindMatch(const Range& r, const C& match, int from = 0)
Next Topic: Vector<Vector<double>>
Goto Forum:
  


Current Time: Sun Apr 28 11:35:11 CEST 2024

Total time taken to generate the page: 0.04506 seconds