On Thu, 20 Dec 2007, Jason Molzen wrote:
>> I think the socket used for DNS queries is allocated and assigned a port
>> number (the latter is done when the descriptor first gets used) but it's
>> not listening for arriving datagrams other than replies.  It's probably
>> just the descriptor used to make DNS queries which is kept open between
>> queries.
>
> If thats the case, should it clean up and close the udp listener once it has
> received its reply?

Nope.  As I said, it's kept open between queries.  There's little sense 
closing down the socket when I'd just have to re-create it moments later 
for the next query.  Moreover, there could be lots of pending replies; 
it's not a one-to-one relationship between sockets and queries.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to