Y
yysiow
hi,
i using WebClient to get the website.
like
string URL = "http://127.0.0.1/index.htm";
WebClient client = new WebClient();
Stream data = client.OpenRead(URL);
StreamReader reader = new StreamReader(data);
is no problem, if i change the URL to
"http://127.0.0.1:3838/index.htm"
(add one port ) and the message is the server committed an HTTP protocal
violation.
so how can i sol this problem..
thanks.
i using WebClient to get the website.
like
string URL = "http://127.0.0.1/index.htm";
WebClient client = new WebClient();
Stream data = client.OpenRead(URL);
StreamReader reader = new StreamReader(data);
is no problem, if i change the URL to
"http://127.0.0.1:3838/index.htm"
(add one port ) and the message is the server committed an HTTP protocal
violation.
so how can i sol this problem..
thanks.