On Mon, Jun 25, 2012 at 12:09:33AM +0300, dsp wrote: > We observe the following behaviour when running nc -ul. > The server begins on a recvfrom() and when data arrives it > connects() the socket. > When the client dies , the server remains in a connected state > therefore ignoring subsequent data arriving on the port. > Is this really the intended logic for a connectionless protocol like > UDP? We proceeded to comment out the connect statement and we were > able to receive data from multiple *sessions* as expected. > Can you shed some light on the matter???
Reading the man page, I think you want to add the -k option to nc. -- Ariane