C
chshanghai
Unregistered / Unconfirmed
GUEST, unregistred user!
我想用tclientsocket 得到网页的内容但
clientsocket1.active:=false;
clientsocket1.port:=80;
clientsocket1.host:='www.sohu.com';
clientsocket1.active:=true;
str:='GET http://wwww.sohu.com HTTP/1.0';
clientsocket1.socket.SendText(str);
执行后在clientsocket1的onread事件中却没有任何东东.
clientsocket1.active:=false;
clientsocket1.port:=80;
clientsocket1.host:='www.sohu.com';
clientsocket1.active:=true;
str:='GET http://wwww.sohu.com HTTP/1.0';
clientsocket1.socket.SendText(str);
执行后在clientsocket1的onread事件中却没有任何东东.