not sure if this will help you much but in my client i have this in winsock connect

VB Code:
  1. Winsock.SendData "N:" & frmLogin.txtnick.Text


and in the server data arrival i have

VB Code:
  1. If Left(strRecivedData, 2) = "N:" Then
  2.   txtchat.Text = strRecivedData & " has joined chat."
  3.   arr() = Split(strRecivedData, ":")
  4.   Call addit(arr(1))
  5. End If
  6.  
  7.  
  8. Sub addit(x As String)
  9.   Dim a As Integer
  10.   For a = 0 To lstusers.ListCount - 1
  11.     If x = lstusers.List(a) Then Exit Sub
  12.   Next a
  13.   lstusers.AddItem x
  14. End Sub

the only problem is that it wont take the names out when they disconnect but that would be easy to put in

hope it helps


-BladeZ