route & bind
From: Xia Wei-Zhong-W20079
Date: Thu Jan 15 2004 - 01:41:12 EST
Hi
This can be a silly question, but I still want to hear what you will say.
For an IP host with multiple network interfaces, can I only use bind to send out packets?
I mean by bind a socket to the local IP address of an interface.
I test this on my linux box, seems it does not work.
So what does the bind system call really do? and do you know any way other than
setting up the routes to make the IP packet go through the correct interface?
Thanks, Xia Weizhong
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html