about raw socket

Grant Edwards grante at visi.com
Mon Oct 18 11:29:56 EDT 2004


On 2004-10-18, Leon <square690410 at yahoo.com.tw> wrote:

> raw socket only modify such as TTL,TOS,OPTIONS for IP Header...etc
> Can it have capability modify other field ?
> such as Source Address(IP Address)

Sure.  If you open a raw socket, you can send any arbitrary
chunk of bits you want to as an Ethernet packet.

-- 
Grant Edwards                   grante             Yow!  I'd like TRAINED
                                  at               SEALS and a CONVERTIBLE on
                               visi.com            my doorstep by NOON!!



More information about the Python-list mailing list