hi,
i have assigned the winsock control,
the client side query disply cannot send the error is
" wrong protocol or connection state for the requested transaction or request"
Private Sub Command1_Click()
Winsock1.RemoteHost = "localhost"
Winsock1.RemotePort = 8085
Winsock1.Connect
Print "connected to server"

End Sub

Private Sub Command2_Click()
sql = Text1.Text
Winsock1.SendData sql
Print "sql has been sent to server"
End Sub