On Thu, 17 Feb 2000, Sasha Peter Oblak wrote:
> Hello
>
> How does one send an packet to someone, but have the source IP of the
> packet be of a different computer on the network? I know you can use
> bind() to bind a different IP address to the packet that one sends.
Right, but you can't bind() to an address you don't have. (Try it!) I
believe you need a raw socket to rewrite the source addresses manually; I
can't think of any way around that.
Shawn
This archive was generated by hypermail 2b29 : Wed Apr 27 2005 - 03:30:03 EDT