Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: in_sock.h

INET_ADDR

INET_ADDR (a, b, c, d) (TUint32)((((TUint32)(a))<<24)|((b)<<16)|((c)<<8)|(d))

Description

Forms a 32-bit integer IPv4 address from the normal dotted-decimal representation.

The four arguments are the four parts of the IPv4 address.

Example:

 TInetAddr addr;
 const TUint32 KInetAddr = INET_ADDR(194,129,2,54);
 addr.SetAddress(KInetAddr);

Parameters

a

b

c

d