route & bind

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

 



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
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux