I use the example program LWIP_S32R45, which is configured as tcpecho and can be sent and received normally through NETCONN API. However, I only modify the code in tcpecho.c file When other configurations remain unchanged, EVB is used as the client and PC as the server. The netconn_connect() function keeps failing to connect and returns -13. Can you tell me why?
Solved! Go to Solution.
Hello,
Here is the feedback from application team:
1. check PC firewall settings, use tcp_echo function to see if your PC can send and receive data.
2. check server configuration: working mode, port, ip.
Best regards,
Peter
Hello,
Here is the feedback from application team:
1. check PC firewall settings, use tcp_echo function to see if your PC can send and receive data.
2. check server configuration: working mode, port, ip.
Best regards,
Peter
Hello,
Could you share name of your company, so I can ask application team for help here?
Was the original example code working for you? And it start failing after you modified the code?
Best regards,
Peter
Hi,
The original sample code works fine, but the original sample code is server-side code, and my requirements are client-side applications. My code uses EVB as a client based on the original configuration, simply by calling netconn_new() and netconn_connect() of the netconn API and adding the output function netconn_write() as validation. However, I can't seem to receive the ACK frame through wireshark tool. I am sure there is no problem with the server.
At present, I guess the reason may be that some configurations of the sample code need to be modified to solve the problem. I hope you can get help and reply from the application team as soon as possible.
Thanks!
Hello,
I am not able to enter ticket in internal system unless I know your company name.
Not every customer is supported on application level.
And since you modified the NXP demo code, this is application issue.
Best regards,
Peter
I sent you a message through the private message function of the website, please check!