Re: [patch] Fix "Address already in use" issue when using netcat with UNIX-domain socket

2018-09-21 Thread Nan Xiao
ping tech@, Very sorry for interrupting again! Anyone can give comment on this issue? Thanks! On 9/18/2018 6:37 PM, Nan Xiao wrote: > Hi tech@, > > Assume I use netcat with UNIX-domain socket, and there is no > temp_socket. Launch the server: > > # ./nc -U -l temp_socket > > It works

[patch] Fix "Address already in use" issue when using netcat with UNIX-domain socket

2018-09-18 Thread Nan Xiao
Hi tech@, Assume I use netcat with UNIX-domain socket, and there is no temp_socket. Launch the server: # ./nc -U -l temp_socket It works normally. But after netcat exits, launch it again: # nc -U -l temp_socket nc: Address already in use The only method seems to delete temp_socket. I am not