diff -r 78fbd574edf4 -r da856f45b798 zeroconf/dnsparser/inc/dnsconstants.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zeroconf/dnsparser/inc/dnsconstants.h Thu Jun 24 19:09:47 2010 +0530 @@ -0,0 +1,123 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#ifndef __DNSCONSTANTS_H__ +#define __DNSCONSTANTS_H__ + +#include + +const TInt KDnsPort = 53; +const TInt KMdnsPort = 5353; +const TUint32 KMDnsAddr = INET_ADDR(224, 0, 0, 251); + +const TInt KDnsTtl = 60 * 60; //< default one hour TTL +const TInt KKnownAnswerTtl = 120; +const TInt KQueryWaitInterval = 225; //