YIPUnion(3)

NAME

YIPUnion - IP address structures

STRUCTURES

typedef union {
u_int32_t whole;
u_int8_t charaddr[4];
} YIPUnion;
To specify the address 127.0.0.1, use:

YIPUnion ip;
ip.charaddr[0] = 127;
ip.charaddr[1] = 0;
ip.charaddr[2] = 0;
ip.charaddr[3] = 1;

SEE ALSO

YAddHost(3) YRemoveHost(3)
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout