Issues.00262 - lordmundi/wikidoctest GitHub Wiki

00262: add discovery mechanism to remote commanding server

« 00261 | Issues | 00263 »

Summary: add discovery mechanism to remote commanding server

Created: 2010–07–29 17:16

Status: Released

Category: Request

From: frankie

Version: 2.1

Released_In: 2.2

Description:

it would be nice to discover where instances of the remote commanding server are running.

rather than sending out lots of multicast information, it would be better to only have the RCS listen for a discovery message and respond to a specified host and port with its port information. that way, no multicast information would ever be on the network unless specifically commanded.


Comments

frankie May 02, 2011, at 01:01 PM: Service discovery is now done mainly using DNS-SD. Services such as the remote_commanding_server, the web_commanding_server, the dcomm manager, etc., are all advertised using DNS-SD over mDNS. You can use the functions underneath for browsing and resolving services, as documented here. Also, if you just want a easy helper function advertise your own service, you can use the "register_local_service" wrapper function, which is dicussed here.


« 00261 | Issues | 00263 »

Associated Commits

| commit | ea342baab1c37c7e69cedcdb25d37dd36cad734e link7 | || | Author: | Frank Graffagnino | | Date: | Tue Aug 10 16:49:54 2010 -0500 | | Message: | [@Issue 00262: Added in missed files in last commit Accidentally missed the files for tcl udp. @] |

Affected Files:

lib_Linux_FC3/libudp1.0.8.so                       |   Bin 0 -> 15810 bytes
 tcltk_unix/tcl8.5/tcludp-1.0.8/ChangeLog           |   185 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/Makefile            |   450 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/Makefile.in         |   450 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/README              |    51 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/aclocal.m4          |   101 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/config.log          |  1299 +++
 tcltk_unix/tcl8.5/tcludp-1.0.8/config.status       |   773 ++
 tcltk_unix/tcl8.5/tcludp-1.0.8/configure           | 11294 +++++++++++++++++++
 tcltk_unix/tcl8.5/tcludp-1.0.8/configure.in        |   211 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/demos/broadcast.tcl |    38 +
 …/tcl8.5/tcludp-1.0.8/demos/bug1158628.tcl       |    55 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/demos/chat.tcl      |    68 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/demos/multicast.tcl |    44 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/demos/udpcat.tcl    |    64 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/doc/manpage.css     |   218 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/doc/udp.man         |   168 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/doc/udp.n           |   175 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/generic/udp_tcl.c   |  1489 +++
 tcltk_unix/tcl8.5/tcludp-1.0.8/generic/udp_tcl.h   |   103 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/license.terms       |    20 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/pkgIndex.tcl        |     1 +
 …/tcl8.5/tcludp-1.0.8/tclconfig/README.txt       |    26 +
 …/tcl8.5/tcludp-1.0.8/tclconfig/install-sh       |   119 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/tclconfig/tcl.m4    |  3957 +++++++
 tcltk_unix/tcl8.5/tcludp-1.0.8/tests/all.tcl       |    66 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/tests/udp-srv.test  |   271 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/tests/udp.test      |   107 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/tools/mpexpand.tcl  |   165 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/udp_tcl.o           |   Bin 0 -> 11400 bytes
 tcltk_unix/tcl8.5/tcludp-1.0.8/win/makefile.vc     |   438 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/win/nmakehlp.c      |   355 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/win/rules.vc        |   436 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/win/tcludp.dsp      |   109 +
 tcltk_unix/tcl8.5/tcludp-1.0.8/win/tcludp.rc       |    40 +
 35 files changed, 23346 insertions(+)

| commit | ab601034483c0c2af477c6803ce22d117af95e02 link8 | || | Author: | Frank Graffagnino | | Date: | Tue Aug 10 16:40:07 2010 -0500 | | Message: | [@Issue 00262: Added multicast commanding to RCS Added in capability to multicast commands to the RCS. I also added some functions such as "send_out_rcs_info" which will cause all of the RCS instances to multicast out their RCS information as long as the RCS_MCAST_TAG matches. @] |

Affected Files:

edge_settings.cfg                |   4 +
 gui/remote_commanding_server.tcl | 185 +++++++++++++++++++++++++++++++±------
 2 files changed, 159 insertions(+), 30 deletions(-)