> Maybe @dom96 have some experience with this ?

Never attempted to transfer FDs between processes, personally I would avoid it 
as I doubt it's well supported across different platforms, but I'm no expert on 
this particular aspect of how sockets/FDs behave when sent across processes.

You should however be able to use `newAsyncSocket` ([this 
overload](https://nim-lang.org/docs/asyncnet.html#newAsyncSocket%2CAsyncFD%2CDomain%2CSockType%2CProtocol))
 to create an `AsyncSocket` out of an FD.

I'm curious what you're trying to achieve at a high level though, maybe there 
is another way that doesn't require FDs being sent across processes?

Reply via email to