Re: Trying to test starsync

Steve Landers <[email protected]> Mon, 20 Jun 2011 07:53:41 +0800
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
On 20/06/2011, at 2:25 AM, Kyle Bateman wrote:

> On 6/14/11 6:19 PM, Steve Landers wrote:
>> Would you mind taking this to a public forum such as comp.lang.tcl or th=
e Starkit list at http://groups.google.com/group/starkit ?
> Yup, no problem.
>>> In playing with sdx/starkits so far, I found the starsync module and co=
uld get a client starkit to ask a server for updates.  It looks like it is =
wrapping its request in an http transaction and expecting a web server to h=
andle its request via cgi.  Neither of the example servers referenced in up=
date.tcl seemed to be alive (mini.net or equi4.com) and/or willing to handl=
e a sync.cgi request.  So I was having trouble figuring out what such a ser=
ver needs to send in return.
>>>=20
>>> Do you know if there is an example server somewhere?  I read somewhere =
that the same starsync module is both server and client, but haven't been a=
ble to figure that part out yet.  Is that part of tclhttpd or something?
> So after your pointer to the mailing lists, I have read a little more and=
 it it looks like to me that I should probably do something like:
>=20
> On the client side: sdx update
> And on the server side: sdx starsync
>=20
> So presumably, I could embed the equivalent of those commands into my ser=
ver and client applications to do the automatic updating I want.
>=20
> This week has been busy and I haven't gotten back to try a test on this y=
et but I will.  A few questions to help me get started:
> - Am I on the right track?

Yes

> - Is the server side meant to stand alone?  Or is it supposed to be set u=
p as a cgi script under a web server? =20

Both are possible

> - Is there already a reference example or tutorial somewhere for this?

I suggest you take a look at the Starkit paper at hhttp://equi4.com/papers/=
skpaper1.html and in particular the section on Starsync at http://equi4.com=
/papers/skpaper7_2.html and also Setting up a Starsync Server at http://equ=
i4.com/papers/skpaper7_3.html

Steve

--=20
You received this message because you are subscribed to the "starkit" group=
.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to starkit-unsubscribe@googlegro=
ups.com
For more options, visit this group at http://groups.google.com/group/starki=
t?hl=3Den