Skip to content

Instantly share code, notes, and snippets.

@photofroggy
Created April 12, 2013 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save photofroggy/5375079 to your computer and use it in GitHub Desktop.
Save photofroggy/5375079 to your computer and use it in GitHub Desktop.
pns = peer ns. Eg for pchats pns = pchat-user1-user2
BDS:PEER:LIST:[channel]
BDS:PEER:OPEN:user,pns,host,connections[,bds_channel]
BDS:PEER:END:user
BDS:PEER:REQUEST:user,pns
BDS:PEER:ACK:user,pns
BDS:PEER:REJECT:pns,user[,reason]
BDS:PEER:ACCEPT:pns,user
BDS:PEER:OFFER:pns,user,peer,offer
BDS:PEER:ANSWER:pns,user,peer,answer
BDS:PEER:CLOSE:pns,user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment