Re: Mixing messages and socket operations

2014-03-11 Thread Sean Kelly
On Tuesday, 11 March 2014 at 14:44:51 UTC, Andre Kostur wrote: Hi, I'm trying a prototype project at work and have been trying to find a good example of network programming in D. What I'm trying to do is have a separate thread to deal with the socket (calls .accept() for example), but I'd also

Mixing messages and socket operations

2014-03-11 Thread Andre Kostur
Hi, I'm trying a prototype project at work and have been trying to find a good example of network programming in D. What I'm trying to do is have a separate thread to deal with the socket (calls .accept() for example), but I'd also like the thread to be responsive to the OwnerTerminated messag