procedure TFace.ServerSocket1ClientConnect(Sender: TObject;
Socket: TCustomWinSocket);
var
LinkIP:TStringList;//连接上来的机器IP地址
I:integer;
s,s1:string;
begin
LinkIP:=TstringLIst.create;
s1:=Socket.RemoteAddress;
for I:=0 to LinkIP.count-1 do begin
if LinkIP.Strings=s1 then exit;
end;
LinkIP.Add(s1);
s:=StatusBar1.Panels.Items[0].text;
StatusBar1.Panels.Items[0].text:=s+s1+#13;
end;