i have this code
VB Code:
  1. Winsock1.Bind 1027
  2. Winsock1.RemoteHost = Label1.Caption    'computer name
  3. Winsock1.RemotePort = 7          
  4. Winsock1.SendData Text1.Text

but it has an error like "invalid operation at current state"