推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

Delphi的Indy10全接触之UDP篇

更新时间:2018-10-29 08:58:12 大小:13M 上传用户:sun2152查看TA发布的资源 标签:delphiudp 下载积分:2分 评价赚积分 (如何评价?) 打赏 收藏 评论(0) 举报

资料介绍

Delphi2009的Indy全接触之UDP篇  首先新建服务端。 如下图所示建立工程:   代码如下: unitServerUnit; interface uses   Windows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms,Dialogs,IdBaseComponent, IdComponent,IdUDPBase,IdUDPServer,StdCtrls,IdSocketHandle,IdGlobal; type   TServerForm=class(TForm)   Label1:TLabel;   Edit1:TEdit;   Label2:TLabel;   Edit2:TEdit;   Label3:TLabel;   Edit3:TEdit;    IdUDPServer1:TIdUDPServer;    procedureIdUDPServer1UDPRead(AThread:TIdUDPListenerThread;AData:TBytes;    ABinding:TIdSocketHandle);    procedureFormCreate(Sender:TObject);  private    {Privatedeclarations}  public    {Publicdeclarations}  end;

部分文件列表

文件名 大小
Delphi的Indy10全接触之UDP篇.doc 13M

全部评论(0)

暂无评论

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单

推荐下载