dealing with MAC address

Grant Edwards grante at visi.com
Fri May 20 12:48:49 EDT 2005


On 2005-05-20, ashtonn at gmail.com <doodle4 at gmail.com> wrote:

> How do i fill in a command line passed mac address for source mac
> address. The first six bytes of data[i] should contain destination mac
> and the next six bytes of data[i] should contain the source mac
> address.

Use the struct module.

-- 
Grant Edwards                   grante             Yow!  MMM-MM!! So THIS is
                                  at               BIO-NEBULATION!
                               visi.com            



More information about the Python-list mailing list