[Mono-list] Newbie seeks clear async socket example

Shaun ONeil shaun@dog-berry.com
Tue, 02 Mar 2004 17:44:55 -0500

I'm trying to write a simple server listening on a unix socket (ie,
AF_UNIX).  So far the single example I've found is:


..but this method is blocking. I need a connection to be an event I
respond to, not something I sit and wait for. Unfortunately I don't know
sockets (or C#) well enough to make the transition.

Everything else I've found that comes close to readable uses
TcpListener, which I can't seem to press into service as it requires
IPEndPoint rather than UnixEndPoint.

Being unix-specific, I'm having great troubles finding this particular
needle on google .. can anyone here throw me a clear example?

Thanks for your time,