⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 10.html

📁 Tcl 语言的入门级图书
💻 HTML
字号:
<HTML><TITLE>TCP/IP Networks and Event-Driven Programming</TITLE><BODY BGCOLOR="#FFF0E0" VLINK="#0FBD0F" TEXT="#101000" LINK="#0F0FDD">
<A NAME="top"><H1>TCP/IP Networks and Event-Driven Programming</H1>
<P>  One reason for the current explosive growth in network applications is the
availability of good tools for creating them.  The World Wide Web is possibly
the most important of these tools.  It runs on a super network known as the
<CITE><NAME=#Ginternet>Internet</CITE>.  This name reflects the fact that the Internet
connects disparate networks around the world.  The Internet is an example of a
TCP/IP network.

<P>  When companies use this technology within their proprietary networks, the
result is called an <CITE><NAME=#Gintranet>intranet</CITE>.  When companies share an
information system based on this technology with suppliers or customers, the
result is called an <CITE><NAME=#Gextranet>extranet</CITE>.

<P>  Tcl/Tk provides solid support for those of you who wish to write
applications based on this technology.  This chapter introduces you to
client/server technology over TCP/IP networks as it is supported by Tcl.
Questions of how to provide security in an environment that passes scripts
from computer to computer are discussed in Chapter 21, "Security In a World
of Push."

<P>  Because servers typically deal with many clients at once, they require a
style of programming that can schedule activities that will happen in
parallel.  Event-driven programming fills this need.  It is supported by Tcl
and is introduced in this chapter.

<UL>
<LI> 
TCP/IP Networks as Seen from Tcl
<LI> 
The World Wide Web as a Client/Server Application
<LI> 
Creating a Web Client in Tcl
<LI> 
The Event Loop
<LI> 
Timeouts
<LI> 
Background Error Handling
<LI> 
Client/Server the Tcl Way
<LI> 
More about the Event Loop
<LI> 
The <TT>http</TT> Package
<LI> 
A Brief HTML Introduction
<LI> 
Solutions to Exercises
</UL>
<!-- Linkbar -->
<P><CENTER><FONT SIZE=2><NOBR>
<STRONG>From</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/sbf/tcl/book/home.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.mapfree.com/sbf/tcl/book/home.html'" tppabs="http://www.mapfree.com/sbf/tcl/book/home.html">Tcl/Tk For Programmers</A><WBR>
<STRONG>Previous</STRONG>
<A HREF="9.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/9.html">chapter</A><WBR>
<STRONG>Next</STRONG>
<A HREF="11.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/11.html">chapter</A><WBR>
<STRONG>All</STRONG>
<A HREF="Contents.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/Contents.html">chapters</A><WBR>
<STRONG>Author</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/mp/jaz/home.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.mapfree.com/mp/jaz/home.html'" tppabs="http://www.mapfree.com/mp/jaz/home.html">J. A. Zimmer</A><WBR>
<STRONG>Copyright</STRONG>
<A HREF="copyright.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/copyright.html">Notice</A><WBR>
<P>
<I>Jun 17, 1998</I>
 </NOBR></FONT></CENTER></BODY></HTML>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -