how to iterate through the list of connected clients ... sorry but its really not easy for me
You see, this is a collection: VB.Net Code: Private clients As New List(Of ConnectedClient) You can iterate through collections like this: VB.Net Code: For Each cc As ConnectedClient In clients cc.SendMessage("this is a test") Next This will send a message to all connected clients.
Private clients As New List(Of ConnectedClient)
For Each cc As ConnectedClient In clients cc.SendMessage("this is a test") Next
Rate posts that helped you. I do not reply to PM's with coding questions. How to Get Your Questions Answered Current project: tunaOS Me on.. BitBucket, Google Code, Github (pretty empty)
Forum Rules