C
chain0509
Unregistered / Unconfirmed
GUEST, unregistred user!
终于把重连的问题弄好了 发送数据又出现问题了 procedure TForm1.IdUDPServer1UDPRead(Sender: TObject; AData: TStream; ABinding: TIdSocketHandle); begin if clientsocket1.Socket.Connected then begin clientsocket1.Socket.SendStream(AData); clientsocket1.FreeOnRelease; i:=i+1; end; StatusBar1.Panels[1].Text:=inttostr(i); end; 我是在IdUDPServer里面将接受到的数据通过Clientsocket转发的 请各位大虾们看看