I am new to LWIP and networking. I'm trying to build a simple TCP server and a TCP client on the same machine as two separate processes (same ethernet adapter). The server waits for the client to connect, then, when it receives the incoming message, it prints the message on screen. I am using echo.c file as base and have modified to make create client and server. I am trying it on linux.
from client is never successful and i don't even get the tcp_connect callback. I have tested the echo_client and echo_server independently by using simple Linux client and server application, but when i try to use the echo_server and echo_client against each other , it doesn't work. I am not sure about the issue whether it's because of same ethernet adapter some other issue. I hope someone will help me.
Thanks & Regards,