我用delphi的tcpclient控件执行如下代码
tcpclient1.remotehost:='10.103.1.177';
tcpclient1.remoteport:='23';
tcpclient1.active:=true;
if tcpclient1.connect then
showmessage('ok');
根本就没执行showmessage('ok');感觉根本就没连上linux,怎么回事啊?
tcpclient1.remotehost:='10.103.1.177';
tcpclient1.remoteport:='23';
tcpclient1.active:=true;
if tcpclient1.connect then
showmessage('ok');
根本就没执行showmessage('ok');感觉根本就没连上linux,怎么回事啊?
我b定义的string类型,如果定义byte的话就不报错,但是怎么给linux主机发送命令啊(用byte怎么传)