| 函数名: | 获取本主机数据函数 | 
| 调 用: | gma.network.gethostdata(string:ip,[table:recycle]) | 
| 参 数: | 第一个参数为字符串:主机IP 第二个参数为可选的字符串:表单 | 
| 返回值: | 无 | 
| 结 果: | 根据输入的主机IP,获取该主机的数据并填入对应的表单中 | 
| 备 注: | 无 | 
例子:
- 获取session中备机数据,并导出到temp文件夹:
function Start()
    local table = {}
    gma.network.gethostdata('192.168.60.2',table) 
    gma.export('myhosttable.xml',table)
end
return Start;
--<?xml version="1.0" encoding="utf-8"?>
--<LUA_EXPORT table="true">
-------	<host_type string="Console"/>
-------	<host_status string="Connected"/>
-------	<secondary_ip string="0.0.0.0"/>
-------	<secondary_subnet_mask string="0.0.0.0"/>
-------	<version string="3.3.4.3"/>
-------	<primary_ip string="192.168.60.2"/>
-------	<mac_addr string="00 E0 4E 69 C0 CC"/>
-------	<primary_subnet_mask string="255.255.255.0"/>
-------	<debug bool="false"/>
-------	<session integer="0"/>
-------	<bits integer="64"/>
-------	<online_seconds integer="132"/>
-------	<slot integer="29"/>
-------	<invite_disabled bool="false"/>
-------	<host_name string="DESKTOP-GB24SV5"/>
-------	<host_subtype string="onPC"/>
--</LUA_EXPORT>
                    