S snpl Unregistered / Unconfirmed GUEST, unregistred user! 2006-10-30 #1 怎样用Udpsocket接收和发送数据,谢 有没有这方面的例子
Y yangyang88 Unregistered / Unconfirmed GUEST, unregistred user! 2006-11-03 #4 用IdUdpserver procedure TfrmMain.IdUDPServerUDPRead(Sender: TObject; AData: TStream; ABinding: TIdSocketHandle); var RecStr: string; begin SetLength(RecStr, AData.Size); AData.Read(RecStr[1], AData.Size); showmessage(recstr); end;
用IdUdpserver procedure TfrmMain.IdUDPServerUDPRead(Sender: TObject; AData: TStream; ABinding: TIdSocketHandle); var RecStr: string; begin SetLength(RecStr, AData.Size); AData.Read(RecStr[1], AData.Size); showmessage(recstr); end;