dgram: generalized send queue to handle close
Checklist
-
tests and code linting passes -
a test and/or benchmark is included -
the commit message follows commit guidelines
Affected core subsystem(s)
dgram
Description of change
If the udp socket is not ready and we are accumulating messages to send, it needs to delay closing the socket when all messages are flushed.