Greetings,

On Fri, 14 Jan 2000, Constantin Teodorescu wrote:
> 
> "[EMAIL PROTECTED]" wrote:
> > 
> > Greetings Group,
> > 
> > I am curious how one would go about having a tclet communicate with a server
> > and store data to it that the tclet could retrieve later.  I would assume
> > that you could use http and use put and get but this seems crude.
> > Ideas?:)
> 
> Yes! I am using a tclet communicating with a server (written also in
> Tcl). The server receives commands (one line at a time) processes them
> and do various things (also stores information on a PostgreSQL
> database).
> I was using vTcl in order to write it.

Great!   I am wanting to work on a couple of web based apps and I want to use
tcl.  I have been researching for a bit now and have been leaning toward using 
Tcl-DP  which handles a lot of the dirty work that I do not want to do;) 

> 
> I'm attaching you a small example. You will find also some code for a
> "internal message box".

This is a great example!  I connected to a web server and extracted a web page
in just a few seconds of tinkering.  Again thanks!

 > In Tclets you cannot use tk_messageBox so I was written a small piece of 
> code that makes an "inside frame" looking as a dialog box. It's also 
> movable :-) 

Nice.

> 
> Hope it helps!

Yes,  it helped:)

> 
> Teo

Many thanks

----------------------------------------
Content-Type: application/x-tcl; name="sockdemo.tcl"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

-- 
RJ Ent. -- http://www.rjent.pair.com 

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to