This is a chat client / server program. To make a broadcast, I have to save each client that connects, and then write to each of them, right? What is the best practice for customer management?
GNAT.Sockets.Accept_Socket(
Server => Receiver,
Socket => Connection,
Address => Client
);
Channel := GNAT.Sockets.Stream(Connection);
String'Write(Channel, "Welcome Message");
user3127415
source
share