also, try: man divert It's is quite detailed.
On Sat, 30 Nov 2002, Nimrod Mesika wrote: > natd is an example of divert socket usage. Try looking at > /usr/src/sbin/natd/natd.c > > On Sat, Nov 30, 2002 at 12:38:44PM +0000, soheil soheil wrote: > > Dear List > > first : > > I want to know if there is any sample of divert socket usage and divert > > socket programming? > > I see the ipfw manual it says divert socket is used but when i goto > > /usr/src/sbin/ipfw > > and trace ipfw.c > > i cannot find anything about divert socket i just found a raw socket. > > -- > Nimrod. > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message