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 list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to