bonding is a special case and not relevant to socket programming I did not want to complicate the issue.
On Tue, Dec 14, 2010 at 8:33 AM, Dan Coutu <[email protected]> wrote: > Whoops, not completely true. If you configure your Linux system to use > ethernet bonding (aka channel bonding) then multiple physical interfaces can > respond to a single IP address. Learn more online, here's one example: > > > http://www.cyberciti.biz/howto/question/static/linux-ethernet-bonding-driver-howto.php > > It is, however, true that if you specify an IP address and port then that's > all you need. The O/S will handle things correctly from there, bonded or > not. Oh, and also note that a single physical NIC can respond to up 254 > different IP addresses on your typical Linux system. It all depends on how > you configure things. > > > On 12/13/10 10:21 PM, Patricia Campbell wrote: > > you bind to a port & ip addr (or default) since no ipaddr can be assigned > to 2 phys interfaces the point about card # is moot, check out the stevens > books if you're serious about tcp/ip coding on *nix > > On Mon, Dec 13, 2010 at 9:54 PM, Leslie S Satenstein < > [email protected]> wrote: > >> I have been told that in the MS (XP, W7, etc), when a system has more >> than 1 network card, then we have to specify the card number to which we >> want to address a socket command, a connect, etc. After all, each card >> could be on a different systemÂ. >> >> What about a linux system with multiple TCP/IP ports? Do we have to do >> likewise? >> Nowhere with the samples for server or client, have I seen that we specify >> the card number (eth0, eth1, etc.) >> >> Did I miss something that is really different from the MS implementation >> and the Linux implementaton? >> *------------------ >> >> * >> >> Regards >> * >> Leslie >> * >> *Mr. Leslie Satenstein >> * >> >> >> >> _______________________________________________ >> mlug mailing list >> [email protected] >> https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca >> >> > > > -- > ___..___........__.......__ > ...|....|__/....|...|......|...|__| > ...|....|.....\...|...|__..|...|....| > > "You must be the change you wish to see in the world." Mohandas K Gandhi > > > _______________________________________________ > mlug mailing > [email protected]https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca > > > > _______________________________________________ > mlug mailing list > [email protected] > https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca > > -- ___..___........__.......__ ...|....|__/....|...|......|...|__| ...|....|.....\...|...|__..|...|....| "You must be the change you wish to see in the world." Mohandas K Gandhi
_______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
