[etoys-dev] Network discovery
karlramberg at gmail.com
Mon Oct 22 05:28:39 EDT 2012
On Sun, Oct 21, 2012 at 10:18 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 21.10.2012, at 03:54, karl ramberg <karlramberg at gmail.com> wrote:
>> I have been testing network discovery by [:masashi | ^umezawa].
>> Package is http://squeaksource.blueplane.jp/Discovery/.
>> It seems to work in the limited testing I have done,
>> I downloaded server and client images from
>> http://swikis.ddo.jp/SuperSwiki2/19 and when I opened the port for
>> Superswiki2 in my firewall the client image had no trubble finding the
>> Some integration will be needed for other tools to work with Discovery
>> it seems, chat badge etc seems not to work.
>> Have others tested Discovery ?
> I have not tested it, but you might want to try loading it into our Etoys image. Using the dependency browser 'Discovery' appears to depend on all of these packages: #( 'ApplicationBase' 'DynamicBindings' 'TimerDaemon' 'KomServices' 'Rbt' 'OSProcess' ). Inspecting the code it looks like we could get rid of OSProcess which is only used to discover the local IP address. This still leaves on the order of 3000 lines of code which is a bit much for my taste (I'd suspect the actual code needed would be more on the order 300 lines), but might still be worth it if we get a robust local discovery. Worth a try :)
It is a big chunk of code and I'm not at all familiar with it. But it
seems to work for discovering a local SuperSwiki2 server.
I'm not sure yet how to add other services like a Badge.
BTW the SuperSwiki2 image seems pretty nice for setting a local
repository. It takes minimal effort to set up.
More information about the etoys-dev