The OpenD Programming Language

FiberManager.listenUnix

Convenience functions for creating listening sockets. These are trivial forwarders to listenStream, constructing the appropriate std.socket.Address object for you. Note the address lookup does NOT at this time use the fiber io and may thus block your thread.

You can close the returned socket when you want to stop listening, or just ignore it if you want to listen for the whole duration of the program.

class FiberManager
version(Posix)
final
listenUnix
(
string path
,
void delegate connectionHandler
,
int backlog = 8
)

Meta