Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Tcl 8.5 Network Programming

You're reading from  Tcl 8.5 Network Programming

Product type Book
Published in Jul 2010
Publisher Packt
ISBN-13 9781849510967
Pages 588 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (18) Chapters

Tcl 8.5 Network Programming
Credits
About the Authors
About the Reviewers
1. Preface
1. Introducing Tcl 2. Advanced Tcl Features 3. Tcl Standalone Binaries 4. Troubleshooting Tcl applications 5. Data Storage 6. Networking in Tcl 7. Using Common Internet Services 8. Using Additional Internet Services 9. Learning SNMP 10. Web Programming in Tcl 11. TclHttpd in Client-Server Applications 12. SOAP and XML-RPC 13. SSL and Security

Learning more about virtual file systems


Tcl, like almost every programming language, allows you to operate on files and directories existing in the underlying file system. In the 'good old days', the Tcl interpreter was able to operate only on native filesystems specific to the operating system it was compiled for. From version 8.4, Tcl incorporates the concept of virtual file systems (VFSs). The idea is to separate normal Tcl commands from the real file system calls. Such separation makes it easy to add support for additional filesystems, because all that is required is to create appropriate drivers. VFS allows us to redirect all FS related calls to the driver responsible for the proper handling of these calls.

Luckily for us, there is already a Tcl extension called tclvfs (http://sourceforge.net/projects/tclvfs/) that offers a number of drivers for various virtual file systems. The word 'virtual' means that the code operates in a unified manner on files / directories located inside something...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}