Package android.system
Class StructAddrinfo
- java.lang.Object
-
- android.system.StructAddrinfo
-
-
Field Summary
Fields Modifier and Type Field Description InetAddressai_addrAddress.intai_familyDesired address family for results.intai_flagsFlags describing the kind of lookup to be done.StructAddrinfoai_nextNext element in linked list.intai_protocolProtocol.intai_socktypeSocket type.
-
Constructor Summary
Constructors Constructor Description StructAddrinfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Field Detail
-
ai_flags
public int ai_flags
Flags describing the kind of lookup to be done. (Such as AI_ADDRCONFIG.)
-
ai_family
public int ai_family
Desired address family for results. (Such as AF_INET6 for IPv6. AF_UNSPEC means "any".)
-
ai_socktype
public int ai_socktype
Socket type. (Such as SOCK_DGRAM. 0 means "any".)
-
ai_protocol
public int ai_protocol
Protocol. (Such as IPPROTO_IPV6 IPv6. 0 means "any".)
-
ai_addr
public InetAddress ai_addr
Address.
-
ai_next
public StructAddrinfo ai_next
Next element in linked list.
-
-
Method Detail
-
toString
public String toString()
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-