吴
吴剑明
Unregistered / Unconfirmed
GUEST, unregistred user!
var
s: Tstringlist;
begin
s := Tstringlist.Create;
s.Add('POST / HTTP/1.1');
s.add('Host: www.163.net');
ClientSocket1.Socket.SendText(s.text);
s.free;
end;
procedure TForm1.ClientSocket1Read(Sender: TObject;
Socket: TCustomWinSocket);
begin
showmessage(socket.ReceiveText);
end;
什么反应也没有,是少了什么?
s: Tstringlist;
begin
s := Tstringlist.Create;
s.Add('POST / HTTP/1.1');
s.add('Host: www.163.net');
ClientSocket1.Socket.SendText(s.text);
s.free;
end;
procedure TForm1.ClientSocket1Read(Sender: TObject;
Socket: TCustomWinSocket);
begin
showmessage(socket.ReceiveText);
end;
什么反应也没有,是少了什么?