after f:=open(port,"nua") and select()
one could receive packets from several sources.
for a dns proxy, they expect replies from port 53;
many refuse to use replies from other ports.
these must often be sent out of order with send()
in order to specify the send address.
send() is currently opening a new socket (on a new port).
It needs to work like write() accepting optionally a file
(which must be a UDP socket) to send on the file's port.
Log in to post a comment.