Date: Tue, 16 May 2000 17:34:52 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: Manny Obrey <manny8383@hotmail.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: socket programming, since the topic has come up Message-ID: <Pine.SOL.4.21.0005161732490.25302-100000@sol.cs.binghamton.edu> In-Reply-To: <20000516211633.56356.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 May 2000, Manny Obrey wrote: > > would any kind soul care to share w/ me how to send data out a particular > nic. I'm doing socket programming and I'm not able to send > outbound packets via the interface that I want. Can one use the 'bind' > function to set the outbound nic (somehow)? should I be using raw sockets? I > am hoping that I can do this w/o using libpcap ... which is where I'm headed > next. > Each NIC has a unique IP address, right? You can bind to that address. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0005161732490.25302-100000>