root@home:~# telnet 127.0.0.1 2628
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 home.eking-go.org dictd 1.12.1/rf on Linux 5.10.0-0.bpo.4-amd64 <auth.mime> <13.11917.1618578531@home.eking-go.org>
But from python3 it does not work
>>> dc = DictionaryClient()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/dist-packages/dictionary_client/dictionary_client.py", line 43, in __init__
self.server_info = self._connect(host, port)
File "/usr/local/lib/python3.7/dist-packages/dictionary_client/dictionary_client.py", line 67, in _connect
response = HandshakeResponse(self._recv_all())
File "/usr/local/lib/python3.7/dist-packages/dictionary_client/response.py", line 16, in __init__
self.content = self.parse_content()
File "/usr/local/lib/python3.7/dist-packages/dictionary_client/response.py", line 119, in parse_content
"Client got unexpected banner in connection response: "
ValueError: Client got unexpected banner in connection response: 220 home.eking-go.org dictd 1.12.1/rf on Linux 5.10.0-0.bpo.4-amd64 <auth.mime> <3.10523.1618577900@home.eking-go.org>
Hello.
So, dictd server works.
Installed the latest version of py-dict-client
But from python3 it does not work