Results 1 to 40 of 163

Thread: [RESOLVED] [2008] Can I add a TCPClient Component

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2007
    Posts
    167

    Re: [2008] Can I add a TCPClient Component

    how to iterate through the list of connected clients ...
    sorry but its really not easy for me

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2008] Can I add a TCPClient Component

    You see, this is a collection:
    VB.Net Code:
    1. Private clients As New List(Of ConnectedClient)
    You can iterate through collections like this:
    VB.Net Code:
    1. For Each cc As ConnectedClient In clients
    2.     cc.SendMessage("this is a test")
    3. Next
    This will send a message to all connected clients.
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width