Skip to content

Issues.00290

Website user edited this page Jan 25, 2019 · 3 revisions

00290: dnssd plugin for EDGE

« 00289 | Issues | 00291 »

Summary: dnssd plugin for EDGE

Created: 2010–11–04 17:52

Status: Released

Category: Request

From: frankie

Version: 2.1

Released_In: 2.2

Description:

a DNSSD (DNS Service Discovery) plugin for EDGE would allow tcl scripts (and possibly other plugins) to generically advertise services on the network in an industry standard way and also browse and discover services on the network using the same protocol.


Comments

frankie December 22, 2010, at 06:20 PM: I've got this added in. To see details on its usage, see the Using DNS Service Discovery page.


« 00289 | Issues | 00291 »

Associated Commits

| commit | 24394818814a60105795402094006f3b95ae54bc [link] | || | Author: | Frank Graffagnino | | Date: | Mon Mar 21 11:30:32 2011 -0500 | | Message: | [@Issue 00290: Fixed a dumb mistake when updating the tcl_bonjour package @] |

Affected Files:

tcltk_unix/tcl8.5/tcl_bonjour/pkgIndex.tcl    | 2 ±
 tcltk_unix/tcl8.5/tcl_bonjour/pkgIndex.tcl.in | 2 ±
 2 files changed, 2 insertions(+), 2 deletions(-)

| commit | d02dfa9727a76445e96981cf51e5005b48bdf15f [link] | || | Author: | Frank Graffagnino | | Date: | Mon Mar 21 11:11:31 2011 -0500 | | Message: | [@Issue 00290: Added in resolve_address capability. Recompiled for linux but still need an update for mac. Not that this required an update to avahi so I updated the libdns_sd to avahi 0.6.29 for linux in the lib dir. @] |

Affected Files:

lib_Linux_FC3/libbonjour1.1.so                   | Bin 13565 -> 16643 bytes
 lib_Linux_FC3/libdns_sd.so.1.0.0                 | Bin 76559 -> 79728 bytes
 tcltk_unix/tcl8.5/tcl_bonjour/Makefile.in        |   6 ±
 tcltk_unix/tcl8.5/tcl_bonjour/README.textile     |   3 +
 tcltk_unix/tcl8.5/tcl_bonjour/doc/bonjour.man.in |   8 +
 tcltk_unix/tcl8.5/tcl_bonjour/example/client.tcl |   6 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/bonjour.c  | 100 ++++++++++++
 tcltk_unix/tcl8.5/tcl_bonjour/generic/bonjour.h  |   9 ++
 tcltk_unix/tcl8.5/tcl_bonjour/generic/browse.c   |  27 +±-
 tcltk_unix/tcl8.5/tcl_bonjour/generic/register.c |  29 +±-
 tcltk_unix/tcl8.5/tcl_bonjour/generic/resolve.c  | 184 ++++++++++++++++++++±-
 tcltk_unix/tcl8.5/tcl_bonjour/pkgIndex.tcl       |   2 ±
 12 files changed, 338 insertions(+), 36 deletions(-)

| commit | 3eaf963ad96ed7d4afb44d6fe3b425855c3edb60 [link] | || | Author: | Mark Paterson | | Date: | Thu Mar 10 13:53:09 2011 -0600 | | Message: | [@Issue 00290: Issue 00274: Add service discovery on OSX @] |

Affected Files:

lib_Darwin/libbonjour1.1.so                    | Bin 0 -> 19144 bytes
 lib_Linux_FC3/libbonjour1.1.so                 | Bin 0 -> 13565 bytes
 tcltk_unix/tcl8.5/tcl_bonjour/libbonjour1.1.so | Bin 13565 -> 0 bytes
 tcltk_unix/tcl8.5/tcl_bonjour/pkgIndex.tcl     |   2 ±
 4 files changed, 1 insertion(+), 1 deletion(-)

| commit | 86aa2c642b597d77d97cec2475b8dcbff59bdb81 [link] | || | Author: | Frank Graffagnino | | Date: | Thu Mar 10 10:44:32 2011 -0600 | | Message: | [@Issue 00290: Remove errant dns_sd.h header file @] |

Affected Files:

tcltk_unix/tcl8.5/tcl_bonjour/generic/dns_sd.h | 1722 ------------------------
 1 file changed, 1722 deletions(-)

| commit | 304ec5a51c87f991f0ecc88713debc8261fdaa54 [link] | || | Author: | Frank Graffagnino | | Date: | Thu Mar 10 09:20:40 2011 -0600 | | Message: | [@Issue 00290: Added dnssd library for windows @] |

Affected Files:

lib_Win32/dnssd.dll | Bin 0 -> 61440 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

| commit | 708693ab524343ec08175c496df26ffa192df0ff [link] | || | Author: | Frank Graffagnino | | Date: | Thu Mar 10 05:07:10 2011 -0600 | | Message: | [@Issue 00290 and 00274: Updated tcl_bonjour to 1.1 @] |

Affected Files:

gui/dnssd.tcl                                    |   2 ±
 gui/remote_commanding_server.tcl                 |   2 ±
 tcltk_unix/tcl8.5/tcl_bonjour/Makefile.in        |   2 ±
 tcltk_unix/tcl8.5/tcl_bonjour/README.textile     |   7 ±
 tcltk_unix/tcl8.5/tcl_bonjour/configure          | 295 ++++++++++++±---------
 tcltk_unix/tcl8.5/tcl_bonjour/configure.in       |   9 ±
 tcltk_unix/tcl8.5/tcl_bonjour/doc/bonjour.man.in |   5 ±
 tcltk_unix/tcl8.5/tcl_bonjour/example/client.tcl |   1 +
 tcltk_unix/tcl8.5/tcl_bonjour/example/server.tcl |   3 +
 tcltk_unix/tcl8.5/tcl_bonjour/example/test.tcl   |  26 ++
 tcltk_unix/tcl8.5/tcl_bonjour/generic/register.c |  47 ++±
 tcltk_unix/tcl8.5/tcl_bonjour/libbonjour1.0.so   | Bin 14116 -> 0 bytes
 tcltk_unix/tcl8.5/tcl_bonjour/libbonjour1.1.so   | Bin 0 -> 13565 bytes
 tcltk_unix/tcl8.5/tcl_bonjour/pkgIndex.tcl       |   5 +
 14 files changed, 256 insertions(+), 148 deletions(-)

| commit | 2b8d9eadaa56d3d2777e0d66b8be921d1ccf3242 [link] | || | Author: | Frank Graffagnino | | Date: | Tue Mar 8 19:08:23 2011 -0600 | | Message: | [@Issue 00290: Completely replaced dnssd functionality I am completely removing the previous dnssd plugin I wrote and integrated previously and am replacing it with the tcl_bonjour package. Hopefully this will let us more easily port the capability to mac and windows since it is using the standard Bonjour api. I've updated the remote commanding server to use this and also added a generic dnssd script which advertises a doug service. @] |

Affected Files:

cev.cfg                                            |    1 +
 gui/dnssd.tcl                                      |   35 +
 gui/remote_commanding_server.tcl                   |   33 ±
 lib_Linux_FC3/libavahi-client.so                   |    1 -
 lib_Linux_FC3/libavahi-client.so.3                 |    1 -
 lib_Linux_FC3/libavahi-client.so.3.2.1             |  Bin 63196 -> 0 bytes
 lib_Linux_FC3/libdns_sd.so                         |    1 +
 lib_Linux_FC3/libdns_sd.so.1                       |    1 +
 lib_Linux_FC3/libdns_sd.so.1.0.0                   |  Bin 0 -> 76559 bytes
 src.dist/plugins/dsp_dnssd/Makefile                |   10 -
 src.dist/plugins/dsp_dnssd/avahi-client/client.h   |  119 -
 src.dist/plugins/dsp_dnssd/avahi-client/lookup.h   |  316 -
 src.dist/plugins/dsp_dnssd/avahi-client/publish.h  |  174 -
 src.dist/plugins/dsp_dnssd/avahi-common/address.h  |  121 -
 …/plugins/dsp_dnssd/avahi-common/alternative.h   |   45 -
 src.dist/plugins/dsp_dnssd/avahi-common/cdecl.h    |   40 -
 src.dist/plugins/dsp_dnssd/avahi-common/defs.h     |  356 -
 src.dist/plugins/dsp_dnssd/avahi-common/domain.h   |  131 -
 src.dist/plugins/dsp_dnssd/avahi-common/error.h    |  109 -
 src.dist/plugins/dsp_dnssd/avahi-common/gccmacro.h |   76 -
 src.dist/plugins/dsp_dnssd/avahi-common/llist.h    |   77 -
 src.dist/plugins/dsp_dnssd/avahi-common/malloc.h   |   98 -
 src.dist/plugins/dsp_dnssd/avahi-common/rlist.h    |   51 -
 …/plugins/dsp_dnssd/avahi-common/simple-watch.h  |   87 -
 src.dist/plugins/dsp_dnssd/avahi-common/strlst.h   |  182 -
 …/plugins/dsp_dnssd/avahi-common/thread-watch.h  |   82 -
 src.dist/plugins/dsp_dnssd/avahi-common/timeval.h  |   56 -
 src.dist/plugins/dsp_dnssd/avahi-common/watch.h    |   99 -
 src.dist/plugins/dsp_dnssd/compile                 |    4 -
 src.dist/plugins/dsp_dnssd/dsp_dnssd.cpp           |  777 —
 src.dist/plugins/dsp_dnssd/dsp_dnssd.o             |  Bin 28860 -> 0 bytes
 tcltk_unix/tcl8.5/tcl_bonjour/.gitignore           |    9 +
 tcltk_unix/tcl8.5/tcl_bonjour/Makefile.in          |  434 +
 tcltk_unix/tcl8.5/tcl_bonjour/README.textile       |   39 +
 tcltk_unix/tcl8.5/tcl_bonjour/aclocal.m4           |    9 +
 tcltk_unix/tcl8.5/tcl_bonjour/configure            | 8821 ++++++++++++++++++++
 tcltk_unix/tcl8.5/tcl_bonjour/configure.in         |  190 +
 tcltk_unix/tcl8.5/tcl_bonjour/doc/bonjour.man.in   |   71 +
 tcltk_unix/tcl8.5/tcl_bonjour/example/client.tcl   |   26 +
 tcltk_unix/tcl8.5/tcl_bonjour/example/server.tcl   |   12 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/bonjour.c    |   88 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/bonjour.h    |   52 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/browse.c     |  384 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/dns_sd.h     | 1722 ++++
 tcltk_unix/tcl8.5/tcl_bonjour/generic/register.c   |  197 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/resolve.c    |  223 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/txt_record.c |  104 +
 tcltk_unix/tcl8.5/tcl_bonjour/generic/txt_record.h |   51 +
 tcltk_unix/tcl8.5/tcl_bonjour/libbonjour1.0.so     |  Bin 0 -> 14116 bytes
 tcltk_unix/tcl8.5/tcl_bonjour/license.terms        |   24 +
 tcltk_unix/tcl8.5/tcl_bonjour/make_doc.tcl         |   14 +
 tcltk_unix/tcl8.5/tcl_bonjour/pkgIndex.tcl.in      |    5 +
 tcltk_unix/tcl8.5/tcl_bonjour/tclconfig/install-sh |  119 +
 tcltk_unix/tcl8.5/tcl_bonjour/tclconfig/tcl.m4     | 4029 +++++++++
 54 files changed, 16683 insertions(+), 3023 deletions(-)

| commit | 098413a5ad5269c7c56335db676590533db0a251 [link] | || | Author: | Frank Graffagnino | | Date: | Wed Feb 16 16:27:01 2011 -0600 | | Message: | [@Issue 00290: Fixed makefile include path @] |

Affected Files:

src.dist/plugins/dsp_dnssd/Makefile | 2 ±
 1 file changed, 1 insertion(+), 1 deletion(-)

| commit | 16e9a082470e3c90a39a3373ae0ecad65a00f5e9 [link] | || | Author: | Frank Graffagnino | | Date: | Tue Feb 15 11:47:21 2011 -0600 | | Message: | [@Issue 50201, 00322, 00290, 00274: Quite a few updates for RCS and DNSD

  • Updated the tcl udp package with a patch file that allows the reuse of udp

sockets. This allows multiple EDGE instances on the same machine to reuse the same multicast socket. I got the patch file from here: http://sourceforge.net/tracker/?func=detail&atid=543224&aid=1693037&group_id=75201

  • Updated the cev.cfg file to have a "TCL" block where we can place scripts that

do not rely on visual components from Tk (such as the RCS).

  • Updated the run_manager script to basically run the doug executable with the

"-notk" option. This means the run_manager script is almost identical to the other run scripts.

  • Updated the dsp_dnssd Makefile to be more like the simdata makefile after the

build system updates @] |

Affected Files:

cev.cfg                                           |   6 +±
 gui/remote_commanding_server.tcl                  |   6 ±-
 lib_Linux_FC3/libudp1.0.8.so                      | Bin 15810 -> 16296 bytes
 plugin_Linux_FC3/dsp_dnssd.so                     | Bin 37945 -> 34427 bytes
 run_manager                                       |  36 +++++++++±----
 src.dist/plugins/dsp_dnssd/Makefile               |  51 ++±------------------
 src.dist/plugins/dsp_dnssd/dsp_dnssd.cpp          |   4 ±
 tcltk_unix/tcl8.5/tcludp-1.0.8/generic/udp_tcl.c  |  11 +++++
 tcltk_win32/tcl8.5/tcludp-1.0.8/generic/udp_tcl.c |  11 +++++
 9 files changed, 64 insertions(+), 61 deletions(-)

| commit | 092d39f98a8dc41fc17a8baf61fcc3e7f11a6fcf [link] | || | Author: | Frankie Graffagnino | | Date: | Wed Dec 22 11:47:05 2010 -0600 | | Message: | [@Issue 00290: Updated dnssd to loop over txt fields The text fields are supposed to come in as separate arguments, but for some reason, when passing a list in tcl, i always seem to get them as a single argument. I decided to make the set_service_txt_field function handle both by looping over each space separated key=value pair. @] |

Affected Files:

plugin_Linux_FC3/dsp_dnssd.so            | Bin 32027 -> 32079 bytes
 src.dist/plugins/dsp_dnssd/dsp_dnssd.cpp |  34 ++++++++++++++++++++±---------
 2 files changed, 23 insertions(+), 11 deletions(-)

Clone this wiki locally