socket.io-client-cpp icon indicating copy to clipboard operation
socket.io-client-cpp copied to clipboard

More commented code/ more detailed examples

Open martinerk0 opened this issue 8 years ago • 3 comments

Hi, could you please add more detailed examples of c++ clients or add comments? I have programmed multithreaded Java client/server apps and node.js socket.io apps before, but this c++ example with locks and without any comments is just unparsable for begginers. I guess that locks are for enforcing singlethreadness of listening for/sending data. Wouldn't it be easier to do it multithreaded or equivalentnly add comments what does it all mean? This would only suit begginers who are not accustomed to locks, which is in my opinion very hard to understand.

martinerk0 avatar Apr 03 '17 10:04 martinerk0

As someone who hasn't grasped the basics of C++ but needs to use this library to finish a school project... yeah it would be nice if there was better documentation, bumping this so perhaps someone will actually reply with useful example code.

Not even asking to be spoonfed just working examples please.

ghost avatar Apr 02 '19 22:04 ghost

Yes very poorly documented and lack of examples that show usage of many functions.

CrackerHax avatar Aug 25 '19 12:08 CrackerHax

Please do put detailed documentation for the socket-io-cpp API.

bharathraja avatar Aug 09 '22 07:08 bharathraja