kleelof
-Interested User-
Posts: 23
Joined: May 30, 2010
|
Posted: Jun 5, 2010 02:46 AM
Msg. 1 of 1
Hello,
I am using the following VB code to send a request via TCP/IP :
Public Sub sendCommand(ByVal command As String) Debug.WriteLine("sendCommand: " + command) command = command + Chr(13) + Chr(10) 'Dim responseString As String = "Connected to server." Dim sendBytes As [Byte]() = Encoding.ASCII.GetBytes(command) networkStream.Write(sendBytes, 0, sendBytes.Length)
End Sub
I am not getting any response from the server. Is this the correct technique to send a request to the IQConnector using TCP/IP?
take care, lee Edited by kleelof on Jun 5, 2010 at 02:47 AM
|