# Unix Domain Sockets: How to create a secure temp file name that doesn't exist as a file yet?

**URL:** <https://swi-prolog.discourse.group/t/unix-domain-sockets-how-to-create-a-secure-temp-file-name-that-doesnt-exist-as-a-file-yet/4084>\
**Category:** Help!\
**Created:** [June 16, 2021, 7:44pm UTC](https://swi-prolog.discourse.group/t/unix-domain-sockets-how-to-create-a-secure-temp-file-name-that-doesnt-exist-as-a-file-yet/4084 "2021-06-16T19:44:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [June 16, 2021, 8:37pm UTC](https://swi-prolog.discourse.group/t/unix-domain-sockets-how-to-create-a-secure-temp-file-name-that-doesnt-exist-as-a-file-yet/4084/4 "2021-06-16T20:37:56Z")

</div>

Is this not what you seek?

unix\_domain\_socket/1

I ran into Unix Domain Sockets for the first time during this topic: [Docker API example](https://swi-prolog.discourse.group/t/docker-api-example/3252)

---

_[View the full topic](https://swi-prolog.discourse.group/t/unix-domain-sockets-how-to-create-a-secure-temp-file-name-that-doesnt-exist-as-a-file-yet/4084)._
