Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: in_sock.h
Link against:

INET_ADDR

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

Support

Supported from 5.0

Description

Forms a 32-bit integer IP address from the normal dotted-decimal representation. The four arguments are the four parts of the IP address.

Example:

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