i want to ask about how to fix this trouble,
i have source for winsock sample like this
Private Sub Command16_Click()
WinSock1.RemoteHost = "smserver.com"
WinSock1.RemotePort = "80"
Private Sub WinSock1_Connect()
Dim strWebPage As String
Dim strCommand As String
strWebPage = "www.smsserver.com/send.php?api_login=
" & Text4.Text & "&api_password=" & Text14.Text & _
"&action=sms_interface" & "&recipient=" & Text2.Text & "&sender=" & Text10.Text & _
"&msg=" & Text9.Text
strCommand = "GET " & strWebPage & " HTTP/1.0" & vbCrLf
strCommand = strCommand & "Accept: */*" & vbCrLf
strCommand = strCommand & "Accept: text/html" & vbCrLf
strCommand = strCommand & vbCrLf
Private Sub WinSock1_DataArrival(ByVal
bytesTotal As Long)
Dim sData As String
The problem is if i send long SMS like,
"hi, how are you? how is mom, father, sister, and others? hope everything... ok?!"
in the text9 textbox which is for all the sms text being typed, the sData response is "400 Bad Request"
but if i send SMS something like,
"hi, this is only test"
there sms send successfully!
Why is it like this? please give me solution from the source above