User Tools

Site Tools


content:tech:cooee

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
content:tech:cooee [30/05/2014 21:05]
Andrew Bettison created
content:tech:cooee [30/05/2014 21:34]
Andrew Bettison add NAF6 grant acknowledgement
Line 1: Line 1:
 ====== Cooee ====== ====== Cooee ======
  
-Cooee is the service discovery protocol for the Serval [[Mesh network]]+Cooee is the service discovery protocol for the Serval [[Mesh network]], and is described in the [[https://github.com/servalproject/serval-dna/blob/development/doc/Cooee.md|Cooee.md]] technical document.
- +
-The Cooee protocol is described in the [[https://github.com/servalproject/serval-dna/blob/development/doc/Cooee.md|Cooee.md]] technical document+
- +
-A client uses Cooee by broadcasting a [[MDP]] //request// packet to port **11** of all reachable nodes, containing a [[http://en.wikipedia.org/wiki/Glob_(programming)|glob]]-like pattern crafted to match the name(s) of the service(s) it wishes to discover. +
- +
-A server process makes itself discoverable via Cooee by listening to port **11** on its local host using [[MDP port sharing]], and //responding// directly to every client request packet whose pattern matches any of its own Cooee description.+
  
 A service's Cooee description is a set of ''NAME=VALUE'' lines where NAME is one or more dot-separated [[http://en.wikipedia.org/wiki/Ascii|ASCII]] identifiers and VALUE is any [[http://en.wikipedia.org/wiki/Utf-8|UTF-8]] text not containing any newline or NUL characters.  For example:<code> A service's Cooee description is a set of ''NAME=VALUE'' lines where NAME is one or more dot-separated [[http://en.wikipedia.org/wiki/Ascii|ASCII]] identifiers and VALUE is any [[http://en.wikipedia.org/wiki/Utf-8|UTF-8]] text not containing any newline or NUL characters.  For example:<code>
Line 14: Line 8:
 socks5.msp.name.es=Punto de acceso al internet socks5.msp.name.es=Punto de acceso al internet
 </code> </code>
 +
 +A client uses Cooee by broadcasting a [[MDP]] //request// packet to port **11** of all reachable nodes, containing a [[http://en.wikipedia.org/wiki/Glob_(programming)|glob]]-like pattern crafted to match the name(s) of the service(s) it wishes to discover.
 +
 +A server process makes itself discoverable via Cooee by listening to port **11** on its local host using [[MDP port sharing]], and //responding// directly to every client request packet whose pattern matches any of its own Cooee description.
 +
 +Cooee was invented as part of the [[:content:activity:naf6]] grant.
 +
content/tech/cooee.txt · Last modified: 30/05/2014 21:34 by Andrew Bettison