using sendToAllNeighbors instead of post

86 views
Skip to first unread message

Fossor

unread,
Jan 22, 2012, 7:42:58 AM1/22/12
to Cocoon P2P
Hi,
First of all, great stuff! Thanx for this library!
Recently I've been playing with Cocoon p2p and i have not found how
can I use direct routing instead of posting.
Here is the post explaining:
http://www.flashrealtime.com/directed-routing-explained-flash-p2p/

So I changed couple of strokes directly in your library, inside of
GroupManager (sendToAllNeighbors instead of post and handleSendTo
function)
This greatly decreased latency, and i guess this method is better for
using in real-time applications(games) with minimum data sent.

My question is: Is there other option to implement routing in Cocoon
P2P, without changing the GroupManager code?
If not, is there any reasons to not implement this in library?

Thanx!
Reply all
Reply to author
Forward
0 new messages