Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2002 18:54:22 -0800 (PST)
From:      alireza mahini <alirezamahini@yahoo.com>
To:        questions@freebsd.org
Subject:   How can i use multiple ethernet card for data transfer?
Message-ID:  <20021103025422.98883.qmail@web40707.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I have two ethernet card(lan card)in my system.
they have varient IPs.My OS(FreeBSD 4.4) known them as
rl0 ,rl1.
I want send data from the card that i like but data
only sent from rl0.
In my program i act as below:
...
 bind(....);//bind in rl1
 sendto(....);//send from a socket that bind at rl1  
...
but my packets are sent from the rl0. 
Note: I use DGRAM socket for my program.
please guide me for this problem. 

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021103025422.98883.qmail>