Page 1 of 1

[w600] telnet server requested

Posted: Sun Nov 21, 2021 10:12 pm
by bazooka07
Hello,
Unfortunately, we have no web_repl for the w60x port.
I'm trying to use telnet server from https://github.com/cpopp/MicroTelnetServer repository.
I get the following warning and the telnet server is not working :

Code: Select all

>>> server_socket.setsockopt(socket.SOL_SOCKET, 20, utelnetserver.accept_telnet_connect)
Warning: lwip.setsockopt() option not implemented
Any idea to fix that or an other script for a telnet server ?

Re: [w600] telnet server requested

Posted: Mon Nov 22, 2021 1:12 pm
by Roberthh
This option type 20 was introduced for registering a python callback for socket activities. It is needed for both webrepl and the telnet module which you referenced. It cannot easily be added to the w600 port, since it is implemented in the modlwip module, which is not used for the w600 port.