apache / apache/nuttx

telnet

Open
#8,813 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.