ok so Im tring to build the third option
so I have this code
Code:
    Private Sub MessageReceived(ByVal sender As ConnectedClient, ByVal Message As String)        'A message has been received from one of the clients.        'To determine who its from, use the sender object.        'sender.SendMessage can be used to reply to the sender.        
        If Mid(Message, 1, 1) = "/" Then
            Select Case Mid(Message, 2, 8)
                Case "Connect:"
                    sender.SendMessage("/Connected")
                    SetConnectionLabelText("Connected")
                Case Else
                    WriteToMainText(Message)
            End Select
        End If
    End Sub
considering the cilent send "/Connect:USERNAME" when it connects
how to add the username to the list?

I was checking ur previous topic and u had a different diclaration
Dim Clients As New Dictionary(Of String, Net.Sockets.TcpClient)

whats the difference?
and u added the name in DoListen Sub not MessageReceived Sub?
what should I do?