Skip to content

telnet #8813

@xiaotailang

Description

@xiaotailang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions