[Tutor] opening multiple connections to a port

Payal Rathod payal-python at scriptkitchen.com
Tue May 9 13:16:03 CEST 2006


Hi,
I have to see how many open connection can a particular service handle.
So, I want to similuate something like this but using Python.
telnet <host> <port>

I will be keeping these connections open for around 60 seconds. Can 
anyone tell me how do I start with this in Python? I read a bit about 
telnetlib, but unable to figure how to open multiple simeltaneous 
connections.

With warm regards,
-Payal



More information about the Tutor mailing list