Xia Wei-Zhong-W20079 wrote:
When I bind a socket to eth0, I can not use this socket to talk with another application on my pc through loop back interface.
You answered our own question: you've asked Linux to send all the packets fromthat sockets through eth0. the loopback device is a different interface (lo), so why do you expect to be able to talk another application that is listening to the loopback interface?
> Does this mean LINUX do not use a standard implementation?
No, it means you need to figure out what you want :-)
Gilad
-- Gilad Ben-Yossef <gilad@codefidence.com> Codefidence. A name you can trust(tm) Web: http://codefidence.com | SIP: gilad@pbx.codefidence.com Tel: +972.9.8650475 ext. 201 | Fax: +972.9.8850643
"I am Jack's Overwritten Stack Pointer" -- Hackers Club, the movie
- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html