Help with Concurrency

2015-11-03 Thread bertg via Digitalmars-d-learn
I am having trouble with a simple use of concurrency. Running the following code I get 3 different tid's, multiple "sock in" messages printed, but no receives. I am supposed to get a "received!" for each "sock in", but I am getting hung up on "receiving...". Am I misusing or

Re: Help with Concurrency

2015-11-03 Thread bertg via Digitalmars-d-learn
On Wednesday, 4 November 2015 at 01:27:57 UTC, Nicholas Wilson wrote: On Tuesday, 3 November 2015 at 23:16:59 UTC, bertg wrote: [...] Try replacing the following loop to have a receive that times out or while(true) to while(web socked.connected) [...] That didn't solve the problem. How