Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Client/Server + Tcl Web Plugin

Status
Not open for further replies.

yodaa

Programmer
Jun 10, 2004
64
SE
Hi colleagues,

I have some questions about a Client/Server + Tcl Web Plugin solution I'm working on for UNIX environment.

I will use the Tcl Web Plugin version 3.0 that presents a TK GUI (Client) in a web browser IE6 Win XP. This client consist of code only to create the GUI and to connect/disconnect and send/recieve data to/from the Tcl "Server". The server will in turn manage .xml, .zip, dirs and other typ of files on the computer it runs from.

The client GUI will consist of drop-down menus, a notebook widget ( forms and a file-system browser. That's it. The GUI will however be accessed from a Windows XP machine and the server will be runed from a UNIX machine. The client will need to send information to the server in following form: <action> <data>. The data that is send will be used to create a XML file.

Is there something in my description that makes anyone out there think that this is something that is not possible to do?

Any tips about the communication part? Is it for instance possible to send/recieve a Tcl List via the communication, or must one send text strings?

Thanks a million for any help!
 
First tip: uuencode or base64 encode the binary data passed thru the sockets between the client and the server.

Second tip: you can only send strings thru sockets. You can use the canonical transform of a list into a string [concat] and back [split] or use your own concat/split scheme (my preference is to use \1, \2... as separators).

ulis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top