next up previous contents index
Next: OTcl methods Up: 32.2 Overview of web Previous: 32.2 Overview of web

32.2.1 Managing HTTP connections

Every HTTP connection is embodied as a TcpApp object. Http maintains a hash of TcpApp objects, which are all of its active connections. It assumes that to any other Http, it has only one HTTP connection. It also allows dynamic establishment and teardown of connections. Only OTcl interface is provided for establishing, tearing down a connection and sending data through a connection.