Date: Mon, 08 Dec 1997 13:12:09 -0800 From: Julian Elischer <julian@whistle.com> To: Ruslan Ermilov <ru@ucb.crimea.ua> Cc: Feiyi Wang <fwang2@unity.ncsu.edu>, hackers@freebsd.org Subject: Re: help: divert sockets question Message-ID: <348C62A9.64880EEB@whistle.com> References: <199712081612.SAA11172@relay.ucb.crimea.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote: > > Hi! > > I did it the same way. It doesn't work for me ;-( > > In general, I have a packet received trhu udp from remote machine, > and I need to write it as incoming on a local machine. > > Usually, you read the packet from divert socket first using recvfrom(), > then optionally modify it, and then write it back using sendto(). > > My case is differ, because I just need to write a packet as incoming, > not reading it from divert socket first. > > what versions are you using?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?348C62A9.64880EEB>