com.sun.squawk.platform.posix.linux.natives
Class NetDBImpl
java.lang.Object
com.sun.squawk.platform.posix.natives.NetDBImpl
com.sun.squawk.platform.posix.linux.natives.NetDBImpl
- All Implemented Interfaces:
- Library, NetDB
public class NetDBImpl
- extends NetDBImpl
Nested classes/interfaces inherited from interface com.sun.squawk.platform.posix.natives.NetDB |
NetDB.hostent |
Fields inherited from interface com.sun.squawk.platform.posix.natives.NetDB |
INSTANCE |
Method Summary |
NetDB.hostent |
gethostbyname(String arg0)
The gethostbyname() function returns a HostEnt structure describing an internet host referenced by name. |
int |
h_errno()
Return error code for last call to gethostbyname() or gethostbyaddr(). |
int |
initConstInt(int index)
|
NetDBImpl
public NetDBImpl()
initConstInt
public int initConstInt(int index)
h_errno
public int h_errno()
- Description copied from interface:
NetDB
- Return error code for last call to gethostbyname() or gethostbyaddr().
- Returns:
- one of the error codes defined in this class.
gethostbyname
public NetDB.hostent gethostbyname(String arg0)
- Description copied from interface:
NetDB
- The gethostbyname() function returns a HostEnt structure describing an internet host referenced by name.
- Parameters:
arg0
- the host name
- Returns:
- the address of struct hostent, or null on error
"For updated information see the Java FRC site"