From owner-freebsd-net Tue May 16 15: 0:39 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail.rdc1.sfba.home.com (ha1.rdc1.sfba.home.com [24.0.0.66]) by hub.freebsd.org (Postfix) with ESMTP id 2186D37BB1F for ; Tue, 16 May 2000 15:00:37 -0700 (PDT) (envelope-from boshea@ricochet.net) Received: from beastie.localdomain ([24.19.158.41]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000516220036.WQEF21643.mail.rdc1.sfba.home.com@beastie.localdomain>; Tue, 16 May 2000 15:00:36 -0700 Received: (from brian@localhost) by beastie.localdomain (8.9.3/8.8.7) id PAA82823; Tue, 16 May 2000 15:10:58 -0700 (PDT) (envelope-from brian) Date: Tue, 16 May 2000 15:10:58 -0700 From: "Brian O'Shea" To: Manny Obrey Cc: freebsd-net@FreeBSD.ORG Subject: Re: socket programming, since the topic has come up Message-ID: <20000516151058.K337@beastie.localdomain> Reply-To: boshea@ricochet.net Mail-Followup-To: Manny Obrey , freebsd-net@FreeBSD.ORG References: <20000516211633.56356.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20000516211633.56356.qmail@hotmail.com>; from Manny Obrey on Tue, May 16, 2000 at 02:16:33PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Manny, There are a number of good books on the topic of network programming. I recommend "UNIX Network Programming, Volume 1, 2nd Edition" by W. Richard Stevens (ISBN: 013490012X). If you are going to be doing network programming in a Unix development envoronment, this book is extremely useful. -brian On Tue, May 16, 2000 at 02:16:33PM -0700, 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. > > any urls, points, suggestions would be helpful > tks, > manny > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- Brian O'Shea boshea@ricochet.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message