diff -r bb2423252ea3 -r c1029e558ef5 tcpiputils/dnd/inc/dns_sock.h --- a/tcpiputils/dnd/inc/dns_sock.h Wed Sep 15 13:53:10 2010 +0300 +++ b/tcpiputils/dnd/inc/dns_sock.h Wed Oct 13 16:17:27 2010 +0300 @@ -60,7 +60,7 @@ handle when the EXPLICIT_SOCKET_BINDING option and NON_SEAMLESS_ BEARER mobility is enabled. */ - void ActivateSocketL(TUint aNetworkId=0); + CDnsSocketWriter * ActivateSocketL(TUint aNetworkId=0); /** Open and activate the UDP socket for DNS traffic (unless already done). @@ -87,7 +87,7 @@ @param aRequest to be queued @param aId of the request, if >= 0. If < 0, then a new random ID is generated */ - void Queue(TDnsRequest &aRequest, const TInt aId = -1); + void Queue(TDnsRequest &aRequest, CDnsSocketWriter * aWriter, const TInt aId = -1); /** (Re)Queue the request for processing. @@ -99,7 +99,7 @@ @li KErrNone, if queued successfully, @li KErrNotFound, if the socket does not exist (not queued) */ - TInt Queue(TDnsRequest &aRequest, const RSocket &aSocket, const TInt aId = -1); + TInt Queue(TDnsRequest &aRequest, const RSocket &aSocket, CDnsSocketWriter * aWriter, const TInt aId = -1); /** (Re)Queue the request for processing using connected socket (TCP) @@ -110,20 +110,16 @@ @return KErrNone, if queued successfully, or error code if failed. */ - TInt Queue(TDnsRequest &aRequest, const TInetAddr &aServer, const TInt aId = -1, const TInt aTTL = -1); + TInt Queue(TDnsRequest &aRequest, const TInetAddr &aServer, CDnsSocketWriter * aWriter, const TInt aId = -1, const TInt aTTL = -1); /** Reque the request for a resend with same ID (if was queued). If the request is not already queued, action defaults to normal Queue(). - Exceptionally, the request assigns new ID when an incomplete query name - is iterated to apply multiple domain suffices on the interface being used for sending requests - @param aRequest to be queued - @param aRetryWithSuffix flag set to identify retry requests on incomplete query names. Defaulted to FALSE */ - void ReSend(TDnsRequest &aRequest, TBool aRetryWithSuffix = EFalse); + void ReSend(TDnsRequest &aRequest, CDnsSocketWriter * aWriter); /** Received a Query or unmatched Reply packet