Indy10 IdudpServer获取字符串数据Read事件,TIdBytes类型的使用,支持中文

来源:互联网 发布:cosplay软件下载 编辑:程序博客网 时间:2024/05/17 02:30

Indy10 IdudpServer获取字符串string类型数据,采用Read事件,TIdBytes类型的使用,支持中文,双字节。

indy10变化相当大,都不会用了。开始被Tidbytes这个类型搞晕。

Indy10 IdudpServer使用

uses IDGlobal;


Read事件主要代码:

s:=enutf8.getting(adata);



Indy9和10比较


http://download.csdn.net/detail/lj920/3187027 

0 0
原创粉丝点击