Hi!
Does anyone know an example of c# (mono) application that creates unix domain socket and listens to it async way?
Hi!
Does anyone know an example of c# (mono) application that creates unix domain socket and listens to it async way?
Take a look at the method GracefulShutdown() in WebSource.cs. After the point where the socket is created, it does not matter any more whether it was a unix domain socket or an IPv4 socket. Accepting connection asynchronously is done in Mono.WebServer/ folder, but I'll let you find out where and how.