OpenRTMFP / Cumulus

CumulusServer is a complete open source and cross-platform RTMFP server extensible by way of scripting
http://groups.google.com/group/openrtmfp-cumulus
GNU General Public License v3.0
593 stars 221 forks source link

Session.h#std::map<std::string,Poco::UInt8> _p2pHandshakeAttemps; #38

Closed eryueniaobp closed 12 years ago

eryueniaobp commented 12 years ago

what is the key's meaning ? [std::string] and what is the value's' meaning? [Poco::Uint8]

??

I am reviewing the code of Cumulus.. You know reading code is more complex than coding directly..Thanks~!

kommander commented 12 years ago

I agree, reading code is always more complicated than writing code ;) The _p2pHandshakeAttemps saves how often a rendezvouz attempt was made for a specific peer from another peer. This way the server can step through available endpoints for the other side. The key is the tag that is sent by the client to identify a rendezvouz attempt and the value is just a counter that is incremented on each request.

As this is not a real issue with Cumulus itself, I think the Google Group would be a better place to discuss such questions.

eryueniaobp commented 12 years ago

The Google Group is so inactive...