Re: How to do IPC using Unix Domain Socket?

2019-10-10 Thread Hossain Adnan via Digitalmars-d-learn
On Thursday, 10 October 2019 at 12:30:25 UTC, Hossain Adnan wrote: Here I have a program that wants to 1. detect whether if it's the only instance 1.1. it does that by trying to create a Unix Domain Socket and trying to binding it to a specific address. 2. if a duplicate program is not

Re: How to do IPC using Unix Domain Socket?

2019-10-10 Thread Hossain Adnan via Digitalmars-d-learn
On Thursday, 10 October 2019 at 12:30:25 UTC, Hossain Adnan wrote: Here I have a program that wants to 1. detect whether if it's the only instance 1.1. it does that by trying to create a Unix Domain Socket and trying to binding it to a specific address. [...] If it helps explaining

How to do IPC using Unix Domain Socket?

2019-10-10 Thread Hossain Adnan via Digitalmars-d-learn
Here I have a program that wants to 1. detect whether if it's the only instance 1.1. it does that by trying to create a Unix Domain Socket and trying to binding it to a specific address. 2. if a duplicate program is not running, establish an UDS and then listen to the socket.