tcpiputils/dnd/src/dns_sock.cpp
branchRCL_3
changeset 21 abbed5a4b42a
parent 20 7e41d162e158
child 22 8d540f55e491
equal deleted inserted replaced
20:7e41d162e158 21:abbed5a4b42a
  1246 // should happen). This preserves the old id of the request.
  1246 // should happen). This preserves the old id of the request.
  1247 //
  1247 //
  1248 // If a request is not currently queued, this does an implicit
  1248 // If a request is not currently queued, this does an implicit
  1249 // Queue. (a new id is generated).
  1249 // Queue. (a new id is generated).
  1250 //
  1250 //
  1251 // Exceptionally, the request assigns new ID when an incomplete query name
       
  1252 // is iterated to apply multiple domain suffices on
       
  1253 // the interface being used for sending requests
       
  1254 //
       
  1255 // @param aRequest	the request to be resent.
  1251 // @param aRequest	the request to be resent.
  1256 // @param aRetryWithSuffix	flag set to identify retry requests 
       
  1257 //							on incomplete query names. Defaulted to FALSE
       
  1258 */
  1252 */
  1259 void CDnsSocket::ReSend(TDnsRequest &aRequest, TBool aRetryWithSuffix)
  1253 void CDnsSocket::ReSend(TDnsRequest &aRequest)
  1260 	{
  1254 	{
  1261 	Queue(aRequest, (!aRetryWithSuffix && aRequest.IsQueued()) ? aRequest.Id() : -1);
  1255 	Queue(aRequest, aRequest.IsQueued() ? aRequest.Id() : -1);
  1262 	}
  1256 	}
  1263 
  1257 
  1264 /**
  1258 /**
  1265 // Add and activate a new secondary writer/reader unit.
  1259 // Add and activate a new secondary writer/reader unit.
  1266 //
  1260 //