Click here to Skip to main content
15,907,493 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm getting an error in a header file. MSTcpIP.h

type not allowed....I_NET_IS_ALIGNED part

IN_ADDR Ipv4Address;

    if (!INET_IS_ALIGNED(Address, IN_ADDR)) {
        Ipv4Address = *(CONST IN_ADDR UNALIGNED *)Address;
        Address = (CONST UCHAR *) &Ipv4Address;
Posted

1 solution

Make sure both Address and IN_ADDR have been defined before the call to the macro.
 
Share this answer
 
Comments
Member 7766180 1-May-11 16:48pm    
Thank You!
DS
Albert Holguin 1-May-11 16:48pm    
no prob :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900