TCP Socket Client Example
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 14 10:16:33 PDT 2015
On Friday, 14 August 2015 at 16:02:30 UTC, Kingsley wrote:
> How would I send stuff back to the server without blocking? Is
> there some kind of IO reactor / event machine library for D
> that could help me?
you could also just use Socket.select and not worry about the
whole blocking thing as much then to handle multiple ones at once.
If you have like < 20 connections, select works really well and
is easy.
More information about the Digitalmars-d
mailing list