[Tutor] telnet connection question
Steven D'Aprano
steve at pearwood.info
Fri Jun 10 12:53:14 CEST 2011
Rayon wrote:
> HI All,
>
> Is there any way that I can use python telnetlib to connect to a telnet
> session.
It would be a pretty rubbish telnet library if it didn't let you make
telnet connections.
I don't understand why you are asking this question, since you have
successfully made connections and are complaining that they are too slow.
> Send commands and get back data without closing the connection.
It would be a pretty rubbish telnet library if you couldn't send telnet
commands. What makes you think it might not?
> I need the response to be faster and the login process is taking up too much
> time.
Then get a faster link.
Seriously, this is a silly question. It's like saying "I need a longer
piece of string". Okay, fine. How long would you like? Why is the piece
you have too short? We can't answer those questions.
How are you logging in? How much time are you talking about? How fast is
your link?
> I was thinking I could use a queue to pass in data but I am not sure how i
> would get it out.
What data do you need to pass in, and why do you think a queue will help
you?
--
Steven
More information about the Tutor
mailing list