com.sun.squawk.platform.windows.natives
Class NetDB.hostent
java.lang.Object
   com.sun.cldc.jna.Structure
com.sun.cldc.jna.Structure
       com.sun.squawk.platform.windows.natives.NetDBImpl.hostentImpl
com.sun.squawk.platform.windows.natives.NetDBImpl.hostentImpl
           com.sun.squawk.platform.windows.natives.NetDB.hostent
com.sun.squawk.platform.windows.natives.NetDB.hostent
- Enclosing interface:
- NetDB
- public static class NetDB.hostent 
- extends NetDBImpl.hostentImpl
C STRUCTURE HostEnt
            struct  hostent {
                     char    *h_name;         official name of host 
                     char    **h_aliases;     alias list 
                     int     h_addrtype;      host address type 
                     int     h_length;        length of address 
                     char    **h_addr_list;   list of addresses from name server 
             };
             #define h_addr  h_addr_list[0]  address, for backward compatibility
 
 
 
| Method Summary | 
|  void | read()Copy the fields of the struct from native memory to the Java fields
 | 
|  void | write()Copy the java fields of the struct to native memory from the Java fields
 | 
 
 
 
 
h_name
public String h_name
h_addrtype
public int h_addrtype
h_length
public int h_length
h_addr_list
public int[] h_addr_list
NetDB.hostent
public NetDB.hostent()
read
public void read()
- Description copied from class: Structure
- Copy the fields of the struct from native memory to the Java fields
 
- 
- Specified by:
- readin class- Structure
 
- 
 
write
public void write()
- Description copied from class: Structure
- Copy the java fields of the struct to native memory from the Java fields
 
- 
- Specified by:
- writein class- Structure
 
- 
 
"For updated information see the Java FRC site"