Re: DHCP



Hi,

I am trying to write a DHCP Client application even though one is
already available on Linux. Basically want it to run on other Unix
platforms as well. Besides this decision has been taken and I cannot
influence it.

Would there be any endian issues I'd have to handle?

Would op, htype, hlen, hops be read in the reverse order on a
big-endian machine?
As in
struct dhcp_packet
{
<data type> hops;
<data type> hlen;
<data type> htype;
<data type> op;
...
...
...
}

Thanks and Regards,
M Shetty

.