sockets - Delete AF_UNIX file automatically? -
sockets - Delete AF_UNIX file automatically? -
is there way delete file created af_unix bind() operation automatically if process crashes?
no, there not.
you can remove when start up, before (re)create socket.
on e.g. linux can avoid creating entry in file scheme having sun_path
start 0 byte - creates "abstract" socket isn't visible in filsystem - see mentioned man page more info, , vanishes when process exits. it's not entierly clear me whether standard feature or if linux specific.
file sockets ipc bind shutdown
Comments
Post a Comment