Hello Ana,

> I have other doubt. The application has data to server and the
> server has to send them to the clients. How can i do this?
> In the examples, i don't understand how the server send data to clients.

For each client taht connect to the server, TWSocketServer create a data
socket (you can derrive your own and assign to ClientClass property. In
OnClientConnect you assign the nececary events (like OnDataAvailable) to
the data socket. It is that socket that receives the data and it is with
that socket you send back to client.

You give each datasocket (so the socket connection to client) the same
events, to use the right socket you use Sender parameter.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to