curl-and-python

Opening a telnet connection with pycurl

From: Guy Shefer via curl-and-python <curl-and-python_at_cool.haxx.se>
Date: Wed, 20 Jun 2018 17:10:03 +0300

Hi,

I'm trying to use the pycurl telnet functionality to verify connectivity.

it's not a full telnet session vs. an actual telnet server (the url is not
"telnet://<host>")- I just need to open a connection, and it's
very important which network interface is used.

for http testing I used the "setopt(pycurl.INTERFACE, <interface name>)" to
set the interface used.

is there a way to open a telnet connection with pycurl, with the interface
set?

thank you!

Guy.
------------------------------

_______________________________________________
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2018-06-20