Something like: onMessage(... e) { ... // send to all e.clients.broadcast (message); ...OR... // target a client e.clients[clientID].send(message); } Or any D lib with similar function.
Cheetah: Keeping track of multiple connected clients
aberba via Digitalmars-d-learn Tue, 16 May 2017 09:06:29 -0700
Does anyone know how to keep track of multiple clients in Cheetah
socket lib such that one can directly message a client or
broadcast to all connected clients.
- Cheetah: Keeping track of multiple connecte... aberba via Digitalmars-d-learn
- Re: Cheetah: Keeping track of multiple... bauss via Digitalmars-d-learn
- Re: Cheetah: Keeping track of mult... aberba via Digitalmars-d-learn
- Re: Cheetah: Keeping track of ... aberba via Digitalmars-d-learn
- Re: Cheetah: Keeping track of ... aberba via Digitalmars-d-learn
- Re: Cheetah: Keeping track... bauss via Digitalmars-d-learn