March 2003
Intermediate to advanced
656 pages
39h 30m
English
read_until
t.read_until(expected,timeout=None)
Reads data from the connection until it
encounters string expected, or until
timeout seconds elapse when
timeout is not None.
Returns whatever data is available at that time, or possibly the
empty string ''. Raises
EOFError if the connection is closed and no data
is available.