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

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -