On the client side: sdx update
And on the server side: sdx starsync
So presumably, I could embed the equivalent of those commands into my
server and client applications to do the automatic updating I want.
This week has been busy and I haven't gotten back to try a test on this
yet but I will. A few questions to help me get started:
- Am I on the right track?
- Is the server side meant to stand alone? Or is it supposed to be set
up as a cgi script under a web server?
- Is there already a reference example or tutorial somewhere for this?
Kyle
> 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 the 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 could 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 handle its request via cgi. Neither of the example servers referenced in update.tcl seemed to be alive (mini.net or equi4.com) and/or willing to handle a sync.cgi request. So I was having trouble figuring out what such a server needs to send in return.
>>>
>>> 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 able 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:
>
> On the client side: sdx update
> And on the server side: sdx starsync
>
> So presumably, I could embed the equivalent of those commands into my server and client applications to do the automatic updating I want.
>
> This week has been busy and I haven't gotten back to try a test on this yet 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 up as a cgi script under a web server?
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://equi4.com/papers/skpaper7_3.html
Steve
In the mean time, I'm really more interested in getting it to run
stand-alone (without a web server involved). Any hints on getting that
going?
I tried running: sdx starsync
Is that supposed to open up a socket that I can direct the "sdx update"
to talk to using the -from switch?
Kyle