How to create Unix domain socket

Hello guys,
we are creating server running on Linux (using unreal dedicated server), and we have “server control system”, that automatic launch server binary, and passing unix socket as command line argument, then server need to listen this unix socket.
But I didn’t see any example of using unix socket.
How to create UNIX domain socket ?

I don’t see any obvious wrappers for it, I’d probably search the engine source for some likely keywords, something along the lines of search for parts or all of socket(AF_UNIX, SOCK_STREAM, 0);

If you don’t find anything there, I’d probably just go ahead and write one. I don’t know how much you know about the topic already, but here’s a crash course in it Getting Started With Unix Domain Sockets | by Matt Lim | The Startup | Medium

Maybe I need to write one that is adapt to our system.
thanks for your advice!

1 Like