ADDED embedded/www/tcllib/files/modules/udpcluster/udpcluster.html Index: embedded/www/tcllib/files/modules/udpcluster/udpcluster.html ================================================================== --- /dev/null +++ embedded/www/tcllib/files/modules/udpcluster/udpcluster.html @@ -0,0 +1,175 @@ +
udpcluster - UDP Peer-to-Peer cluster
+This package is a lightweight alternative to Zeroconf. It utilizes UDP packets to +populate a table of services provided by each node on a local network. Each participant +broadcasts a key/value list in plain UTF-8 which lists what ports are open, and what +protocols are expected on those ports. Developers are free to add any additional key/value +pairs beyond those.
+Using udpcluster.
+For every service you wish to publish invoke:
++cluster::publish echo@[cluster::macid] {port 10000 protocol echo} ++
To query what services are available on the local network:
++set results [cluster::search PATTERN] +# And inside that result... +echo@LOCALMACID { + port 10000 + protocol echo +} ++
To unpublish a service:
++cluster::unpublish echo@[cluster::macid] ++
Results will +Historical Notes:
+This tool was originally known as nns::cluster, but as development progressed, it was +clear that it wasn't interacting with any of the other facilities in NNS.
+This document, and the package it describes, will undoubtedly contain +bugs and other problems. +Please report such in the category nameserv of the +Tcllib Trackers. +Please also report any ideas for enhancements you may have for either +package and/or documentation.
+Networking
+Copyright © 2016 Sean Woods <yoda@etoyoc.com>
+zipfile::decode - Access to zip archives
File
udpcluster - UDP Peer-to-Peer cluster
+This package is a lightweight alternative to Zeroconf. It utilizes UDP packets to +populate a table of services provided by each node on a local network. Each participant +broadcasts a key/value list in plain UTF-8 which lists what ports are open, and what +protocols are expected on those ports. Developers are free to add any additional key/value +pairs beyond those.
+Using udpcluster.
+For every service you wish to publish invoke:
++cluster::publish echo@[cluster::macid] {port 10000 protocol echo} ++
To query what services are available on the local network:
++set results [cluster::search PATTERN] +# And inside that result... +echo@LOCALMACID { + port 10000 + protocol echo +} ++
To unpublish a service:
++cluster::unpublish echo@[cluster::macid] ++
Results will +Historical Notes:
+This tool was originally known as nns::cluster, but as development progressed, it was +clear that it wasn't interacting with any of the other facilities in NNS.
+This document, and the package it describes, will undoubtedly contain +bugs and other problems. +Please report such in the category nameserv of the +Tcllib Trackers. +Please also report any ideas for enhancements you may have for either +package and/or documentation.
+Networking
+Copyright © 2016 Sean Woods <yoda@etoyoc.com>
+zipfile::decode - Access to zip archives
File