[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] TCP server and client on the same machine

From: chandra shekhar
Subject: [lwip-users] TCP server and client on the same machine
Date: Thu, 7 Jan 2010 06:18:14 +0530 (IST)

Hi all,
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. 

but tcp_connect
 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,

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]