winsock提交表單返回值問題
請問一下,如果用winsock.senddate 向服務器提交數據包以後,應該怎樣接收服務器返回值的數據?比如:
strData = ""
strData = strData & "POST /total/RechResultadd/ResultAddForSour.jsp HTTP/1.1" & vbCrLf
strData = strData & "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*" & vbCrLf
strData = strData & "Accept-Encoding: gzip , deflate" & vbCrLf
strData = strData & "Accept-Language: zh-cn" & vbCrLf
strData = strData & "Content-Length: 505" & vbCrLf
strData = strData & "Cache-Control: no-cache" & vbCrLf
strData = strData & "Connection: Keep-Alive" & vbCrLf & vbCrLf
strData = strData & "Content-Type: application/x-www-form-urlencoded" & vbCrLf
strData = strData & "Host: trans. & vbCrLf
strData = strData & "Referer: http://news. & vbCrLf
strData = strData & "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; Alexa Toolbar; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" & vbCrLf & vbCrLf
strData = strData & "nRid=1164597835463&check1164597835463=云南联通&check1164597835463=前 进牛奶&check1164597835463=渤骏装家汉&check1164597835463=拓东酱油& check1164597835463=福林堂&check1164597835463=江东集团& check1164597835463=腾药&check1164597835463=城建股份& check1164597835463=雪兰牛奶&check1164597835463=完美中国&submitok=提交& userName=userName&nRid=1164597835463" & vbCrLf
tcpServer.SendData strData
--------------
我發送了這個數據包,那我要怎樣獲取回來的數據了?