xiaotailang opened a new issue, #8813:
URL: https://github.com/apache/nuttx/issues/8813

   
   I am debugging the telnet-related functions on stm32f767. During the test, I 
found that stm32f767 can connect to PC via telnet as a server and enter the 
nuttx system normally. However, when stm32f767 works as a client to connect to 
PC, it cannot connect to PC normally. When I tracked and debugged the program, 
I found that the program can return normally during connect(), but when it 
comes to send(), it returns an error code "send() failed: 22". I don't know the 
reason for this and hope to get some suggestions and experience from you. My PC 
has installed the telnet server correctly and started the telnet service. My 
code is nuttx _8.2 and configuration is as follows:
   CONFIG_NSH_TELNET=y
   CONFIG_NSH_TELNETD_PORT=y
   CONFIG_NSH_TELNETD_DAEMONPRIO=y
   CONFIG_NSH_TELNETD_DAEMONSTACKSIZE=y
   CONFIG_NSH_TELNETD_CLIENTPRIO=y
   CONFIG_NSH_TELNETD_CLIENTSTACKSIZE=y
   SYSTEM_TELNET_CLIENT=y
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to