本文整理自网络,侵删。
//数值转IP
function AddrtoIP(addr: Dword): string;begin Result := format('%d.%d.%d.%d', [Lo(Loword(addr)), //最底位 Hi(Loword(addr)), Lo(Hiword(addr)), Hi(Hiword(addr))]); //最高位end;
相关阅读 >>
Delphi getmimetype 查询文件mime类型函数
Delphi firedac tfddatamove 导出csv
Delphi 用 directshow 获取本机的视频摄像设备列表
Delphi 10 seattle的android应用程序中使用参数启动服务
更多相关阅读请进入《Delphi》频道 >>