im having little piss of problems with my code can someone tell me whats wrong with it ?

Visual Basic 6.0

In Client
VB Code:
  1. Private Sub cmdSend_Click()
  2. Dim Data10
  3. Data10 = txtNick.Text & ": " & txtMessage.Text
  4. Winsock.SendData Data10
  5. End Sub


In Server
VB Code:
  1. Case "Data10"
  2. Winsock(Index).GetData incommingData, vbString
  3. If incommingData = "Data10" Then
  4. Data10 = MsgBox Date10, ("Message From Master")
  5.     End If
  6.     Exit Sub

If anyone can fix it up and tlel me what was wrong it would help me a lot