Skip to main content
diff options
authoreutarass2011-06-04 01:05:49 +0000
committereutarass2011-06-04 01:05:49 +0000
commitcad9f08c15c6ca56b74d98b6e291cfafecbd5815 (patch)
tree53bee3abaf00d965f798258554ba6403c915c7bf /docs/TCF_UDP_Discovery.html
parentfae8eeff08bde9128e4e3379db67a34e3c9dbfc8 (diff)
Bug 331819 - Peers not removed when Channels are reset.
Diffstat (limited to 'docs/TCF_UDP_Discovery.html')
1 files changed, 22 insertions, 3 deletions
diff --git a/docs/TCF_UDP_Discovery.html b/docs/TCF_UDP_Discovery.html
index 931592e36..f8ab338fb 100644
--- a/docs/TCF_UDP_Discovery.html
+++ b/docs/TCF_UDP_Discovery.html
@@ -16,7 +16,7 @@ Designed by Eugene Tarassov (<br>
Documented by John Cortell (<br>
Created on: December 5, 2009<br>
-Last modified on: June 24, 2010<br>
+Last modified on: June 03, 2011<br>
@@ -139,12 +139,14 @@ The following are the TCF UDP Discovey <i>Rules of Engagement. </i>Unless explic
tell the new slave about all known peers and slaves
- </ul>
- <ul>
advertise the new slave to all slaves that have sent CONF_REQ_SLAVES to this agent within the last X seconds (retention period)
+ <li>
+ <p>
+ On shutdown, agent may broadcast CONF_PEERS_REMOVED to all local networks and known slaves.
+ </li>
<h3>UDP Packets</h3>
@@ -174,6 +176,9 @@ All TCF discovery UDP packets have an eight byte header:
+ <li>
+ </li>
bytes 5-7 are reserved for future use<br>
@@ -218,6 +223,12 @@ This indicates knowledge of a TCF slave agent running at, listening
Multiple such descriptions can appear in a CONF_SLAVES_INFO packet. Agents should take care to not send excessively large UDP packets, though.
The TCF reference implementation keeps packets under 1500 bytes. Agents should split large tables across multiple UDP packets.
+This is a packet which notifies removal of peers. When an agent is about to exit, it may send the packet to notify others about removing of peers that the agent implements.
+This allows other agents to remove stale peer info right away instead of waiting until the data become expired. Following the eight-byte header, this packet contains
+sequence of zero-terminated peer IDs.
@@ -308,6 +319,14 @@ An agent should check and ignore any packets it has sent.
+ <tr>
+ <td width=50%>
+ </td>
+ <td width=50%>
+ </td>
+ </tr>

Back to the top