yeah like when yah send the stuff you want to send you could do something like

VB Code:
  1. If Not SockChat.State = sckClosed Then SockChat.SendData TxtGeneral(2).Text
TxtGeneral(2).Text is the text you would be sending here in this case
then you would need to set up a data arival so when yah send the text you will get have to recieve as well
as for me i prewrite handles in mods makes my form code look clean and using handles to me is the way i would go and in your data arrival you just call on the handle and it takes care of all your stuff for you
example
VB Code:
  1. ' data arrival in your form would be like this
  2.  
  3.  
  4. Private Sub SockChat_DataArrival(ByVal bytesTotal&)
  5. Dim Data$
  6. SockChat.GetData Data
  7. Debug.Print Data
  8.   Call Handle (Data, SockChat)
  9. End Sub
  10.  
  11. 'example of what a handle looks like if ah dont know
  12.  
  13. Public Sub ChatHandle(Data$, YahooYcht As Winsock)
  14. 'handles the data
  15. Select Case Mid(Data, 12, 1)
  16.   Case Chr(&H1)
  17.     With FrmMain
  18.       .CmdGeneral(0).Caption = "Logout"
  19.       .StatusBar.SimpleText = "Logined In..Ready to join chat.."
  20.     End With
  21.   Case Chr(&H11)
  22.     If InStr(1, Data, "vcauth=") > 0 And InStr(1, Data, "rmspace=") > 0 Then
  23.     If Mid(Data, 17, 11) = "Join Failed" And Mid(Split(Data, "À€")(3), 1, 11) = "/c/ad.html?" Then
  24.       ChatRoom = Split(Data, "À€")(1)
  25.     Else
  26.       ChatRoom = Mid(Data, 17, Len(Data) - 16)
  27.       ChatRoom = Split(ChatRoom, "À€")(0)
  28.     End If
  29.       VoiceToken = Split(Data, "vcauth=")(1)
  30.       VoiceToken = Split(VoiceToken, "&" & Chr(&H2E))(0)
  31.       RoomSpace = Split(Data, "rmspace=")(1)
  32.       RoomSpace = Split(RoomSpace, "À€")(0)
  33.      End If
  34.   Case Chr(&H2)  
  35.     With FrmMain
  36.       .SockAuth.Close
  37.       YahooYcht.Close
  38.       .CmdGeneral(0).Caption = "Login"
  39.     End With
  40. End Select
  41. End Sub

well i hope this kinda helps you out maybe if you have a source post it and ill have a look at it for yah and maybe comment in it and explain it better