Pietro Paolini
2012-10-11 08:44:39 UTC
Hello,
I'm not sure about the mailing list I should ask this.
I am rewrite a C program in order to make it portable between differents arch and I am a bit confused regarding byte order.
I am getting the list of my interfaces using the getifaddr() functions and it seems return me a list of interfaces with their IP addresses in network byte order instead of host byte order.
It is a regular behavior or I am wrong and confused ?
Many thanks,
Pietro
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
I'm not sure about the mailing list I should ask this.
I am rewrite a C program in order to make it portable between differents arch and I am a bit confused regarding byte order.
I am getting the list of my interfaces using the getifaddr() functions and it seems return me a list of interfaces with their IP addresses in network byte order instead of host byte order.
It is a regular behavior or I am wrong and confused ?
Many thanks,
Pietro
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html