在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Require Android API level >= 24 Posix.Ifaddrs.pas unit Posix.Ifaddrs; interface uses Posix.SysSocket; type Pifaddrs = ^Ifaddrs; Ifaddrs = record ifa_next: Pifaddrs; ifa_name: MarshaledAString; ifa_flags: Cardinal; ifa_addr: Psockaddr; ifa_netmask: Psockaddr; ifa_ifu: record case Cardinal of 0: (ifu_broadaddr: Psockaddr); 1: (ifu_dstaddr: Psockaddr); end; ifa_data: Pointer; end; function getifaddrs(out Pointer: Pifaddrs): Integer; procedure freeifaddrs(Pointer: Pifaddrs); implementation function getifaddrs; external 'libc.so'; procedure freeifaddrs; external 'libc.so'; end. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论