Is it possible to store data that arrives in an array? I know how to send and receive a single string but I would like to send multiple strings and put those strings in an array? Is it possible or does one have to send the strings in one very long string and then split it at the dataArrival event? This is what I have so far:

vb Code:
  1. 'for sending the data
  2. 'the program has 3 textboxes in array
  3. 'loop through each textbox & assign it to string variable array
  4. 'send data for each index
  5.  
  6. Dim x As Integer, a(2) As String
  7.  
  8. For x = 0 To 2
  9. a(x) = Text1(x).Text
  10. Winsock.SendData a(x)
  11. Next x
  12.  
  13. '/////////////////////////////////
  14.  
  15. 'for data arrival
  16. 'store data in a array and put it in each textbox
  17.  
  18. Dim x As Integer, a(2) As String
  19.  
  20. For x = 0 To 2
  21. Winsock.GetData a(x)
  22. Text1(x).Text = a(x)
  23. Next x

Obviously, it sends the data from the 3 textboxes but at the receiving end, it displays them in text1 only because the for/next in dataArrival only fires one time. Basically, I'm making a 2 player card game and after any user goes, I need to update the textboxes for the other player. I need to do it in one command because the user isn't going to be very happy if they have to press SEND over 50 times! I'm just using 3 textboxes at the moment so I can see if it's doable.