This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Telnet with a python client

I have a telnet server running on an MCBSTM32F400 and can connect to it via Putty.
If I try to connect with an Python client, I won't get a connection.

Python code:

from telnetlib import Telnet

with Telnet('10.0.0.61', 23, 10.0) as tn:
    tn.write(b"a simple command\n")

I can set a brakpoint in my code in a function called "netTELNETs_ProcessMessage".
It will be called if I connect with Putty but not with Python.

Thanks in advance for you time,
Marco