Rats. Looks like there is still a need for a .pid file. Fortunately, we can
store it in the same location, so there are still no privileges required.
The code can pretty much be copied from the old version.

Rick

On Sat, Dec 1, 2018 at 8:54 AM Erich Steinböck <erich.steinbo...@gmail.com>
wrote:

> One thing that needs to be checked out is what happens if a second version
>> of rxapi gets launched.
>> .. there's also some code to unlink() the file before the bind operation
>> that I'm hoping will fail if the socket is still in use.
>
>
> On Linux, rxapi can be started a second time, with both of them continuing
> to listenForConnections()
> The reason is, as you suspected, with unlink, which returns 0 although the
> first rxapi still has this socket open.  The docs seem to confirm this.
> https://linux.die.net/man/2/unlink "If the name referred to a socket,
> fifo or device the name for it is removed but processes which have the
> object open may continue to use it."
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to