I've seen this posted by someone else, but like 80% of questions asked on
this newsgroup, there was no answer.  I want to send a raw ethernet packet,
but I cannot seem to be able to open a raw socket in raw address domain.

 rawSock = NetLibSocketOpen( m_usAppNetRefnum,
//        netSocketAddrINET,
        netSocketAddrRaw,
        netSocketTypeRaw,
        netSocketProtoIPRAW,
        0.5 * SysTicksPerSecond(),
        &iErr);

As you can see, I've commented out  opening the socket in inet domain.  If I
open the raw socket in inet domain, it works.  However, I don't think I want
to do this.  I am trying to send a gratuitous ARP message, and I believe
that it must be raw ethernet packets and not wrapped in



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to