|
Dear yadnesh
tcp_accept would get called if some client tries to
connect on a listening port .Just pingining does not trigger tcp module
.
Your second query is not clear .There is always a
need of some ethernet driver to actually send the data physically on cable. So
low_level_xxx functions need to be
implemented
Ahmad
----- Original Message -----
Sent: Tuesday, August 29, 2006 9:52
AM
Subject: [lwip-users] "minimal" on
unix
Hi All,
I am working on Linux and have just started learning about
lwIP functionality. So, studying the example
..../contrib/ports/unix/proj/minimal
There seem to be 2 different types
of implementation examples provided. 1) using echo.c
In this tcp_new(), tcp_bind(), and tcp_accept() are used.
I am really confused about working of this
implementation. tcp_accept() has specified echo_accept() as a callback
function for all packets received over the network interface. But
echo_accept() never seems to be called when I ping the IP address.
Could somebody please give me some pointers about what is happening here
and whether I am doing something wrong?
2) using mintapif.c This works perfectly fine
for replying to ping. I have the following doubts: 1) Does lwIP
communicate directly over the Ethernet "eth0"? or the "tap" driver is
always required? 2) Is it mandatory for all applications to write code for
low_level_init(), low_level_input(), and low_level_output() ? Thanks
and Regards, Yadnesh Phadke -- This message has been scanned
for viruses and dangerous content by Streaming Networks, and is
believed to be clean.
_______________________________________________ lwip-users mailing
list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users --
This message has been scanned for viruses and
dangerous content by
Streaming Networks, and is
believed to be clean.
|
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users