Summary
In this chapter, we've learned to use Tcl with different protocols that our application can benefit from —synchronizing time with other servers, querying user information and authenticating users over LDAP and perform DNS queries.
Tcl has its own protocol for remote procedure calls locally and remotely. This can be used for both accessing our application from different processes and troubleshooting. We can also use this for distributed computing of information. In addition to this, the comm
package can also be used to offer service-based approach, including authentication.
In this chapter we have learned to:
Get DNS information
Get current date and time
Query and modify information over LDAP
Authorize users using LDAP
Creating and using networked applications using
comm
package
The next chapter shows how to embed a web server in our application, and how this can be used to both create a simple web server as well as use HTTP protocol for communication between our applications.