Author | Message | ||
---|---|---|---|
NeiSep Ametuar Posts: 93 | Hello there how do i send message or text or something to all clients? I Use TSocket in Delphi 7. i know i can use Socket.SendText() to send text but that is just for 1 user i want to send to all. | ||
Meka][Meka Unstopable Posts: 700 | store each client in a TObjectList.. for example... then do a loop thru each socket in the objectlist... lol | ||
NeiSep Ametuar Posts: 93 | can you give me an exampel or where i can read about it lol? | ||
Mickey Ametuar Posts: 115 | You can handle it like any other lists. TStringList etc. I can see examples in help. | ||
NeiSep Ametuar Posts: 93 | weird i can't find any exampels in the help file i search for TSocket and many other related but never find anything. | ||
Meka][Meka Unstopable Posts: 700 |
in delphi editor inside form load, for example type TStringList, then press F1 straight away, u will get help showing u things, have a look for 'examples' shud be there | ||
NeiSep Ametuar Posts: 93 | o lol is it that easy didn't know lol thanks anyway hehe. | ||
Mickey Ametuar Posts: 115 | The way TStringList is maintaned you can maintain any type of lists. That's why I advised TStringList. |