xmllmx
xmllmx

Reputation: 42371

What is it exactly meant by "This is an 'on-wire' format structure."?

The following code is excerpted from in6addr.h in Windows SDK:

//
// IPv6 Internet address (RFC 2553)
// This is an 'on-wire' format structure.
//
typedef struct in6_addr {
    union {
        UCHAR       Byte[16];
        USHORT      Word[8];
    } u;
} IN6_ADDR, *PIN6_ADDR, FAR *LPIN6_ADDR;

I'm not a native English developer. So please forgive me for asking a stupid-looking question:

What is it exactly meant by "This is an 'on-wire' format structure."

Upvotes: 2

Views: 938

Answers (1)

Alexander Kjäll
Alexander Kjäll

Reputation: 4336

It means that it describes how the information looks like when transmitted.

Upvotes: 4

Related Questions