Clarify status of connection of a new instance; it *is* connected if

you pass server information to the constructor.  Error noted by Pedro
Diaz Jimenez <diazjimenez@ctv.es>.
This commit is contained in:
Fred Drake 2000-05-03 15:11:47 +00:00
parent 4e751c3d12
commit ae08853fb0
1 changed files with 5 additions and 3 deletions

View File

@ -12,9 +12,11 @@ protocol.
\begin{classdesc}{Telnet}{\optional{host\optional{, port}}}
\class{Telnet} represents a connection to a telnet server. The
instance is initially not connected; the \method{open()} method must
be used to establish a connection. Alternatively, the host name and
optional port number can be passed to the constructor, too.
instance is initially not connected by default; the \method{open()}
method must be used to establish a connection. Alternatively, the
host name and optional port number can be passed to the constructor,
to, in which case the connection to the server will be established
before the constructor returns.
Do not reopen an already connected instance.