Gerard Beekmans wrote:
Gerard Beekmans wrote:
It's probably something elemental to seasoned programmers. Anybody
care to explain? :)
Ah found it. Apparently it's for historical reasons. The in_addr
structure used to be a union of various structures. Networking
changed, the union became unneeded and in_addr is left as a structure
with just that single in_addr_t member.
What's a union? :)
A union is basically the same as a structure. Same syntax, same method
of calling. I suppose you could call a union a subset of a structure. A
structure is more expandable/scalable though.
--
Shane Shields
Registered LFS Compiler: 7582
To drink the WINE of success you must first seek the sayings of source
Anyone sending unwanted advertising e-mail to this address will be charged $25
for network traffic and computing time. By extracting my address from this
message or its header, you agree to these terms.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page