A
ahui
Unregistered / Unconfirmed
GUEST, unregistred user!
我向IP为192.168.0.1,端口为80,发送一个数据,我如何接受192.168.0.1返回的数据呀?
请写出具体实现代码,谢谢!我写的程序如下:
TcpClient.RemoteHost:=192.168.0.1;
TcpClient.RemotePort:=80;
TcpClient.Active:=True;
TcpClient.Sendln('GET / HTTP/1.1');
TcpClient.Active:=False;
[]
请写出具体实现代码,谢谢!我写的程序如下:
TcpClient.RemoteHost:=192.168.0.1;
TcpClient.RemotePort:=80;
TcpClient.Active:=True;
TcpClient.Sendln('GET / HTTP/1.1');
TcpClient.Active:=False;
[]