0
Try
Do
read = stream.Read(datain, 0, datain.Length)
responseData = System.Text.Encoding.ASCII.GetString(datain, 0, read)
finalResponse = finalResponse + responseData
Loop While read > 0
Catch ex As Exception
有時程序停留在該stream.read如果失敗,我想moveon。如何指定stream.read的超時函數?
如何解決這個問題?
什麼類型是'stream'? –