61 lines
1.3 KiB
HTML
61 lines
1.3 KiB
HTML
<HTML>
|
|
<!-- THIS FILE IS GENERATED FROM ANOTHER SOURCE FILE -->
|
|
<HEAD>
|
|
<TITLE>IPAddress</TITLE>
|
|
</HEAD>
|
|
<BODY BGCOLOR="ffffff">
|
|
<DL>
|
|
<DT><H1>IPAddress</H1></DT>
|
|
<DD>
|
|
|
|
IP Address object.
|
|
</DD>
|
|
<DT><H2>Super Class:</H2></DT>
|
|
<DD><DL><DT><A HREF="http://www.ruby-lang.org/en/man-1.4/Object.html"><CODE>Object</CODE></A></DT></DL></DD>
|
|
<DT><H2>Methods:</H2></DT>
|
|
<DL COMPACT>
|
|
<DT>
|
|
<A NAME="=="><CODE>self == <var>other</var></CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
Return <CODE>true</CODE> if two addresses are the same address.
|
|
</p>
|
|
<DT>
|
|
<A NAME="hostname"><CODE>hostname</CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
Return host name correspond to this address.
|
|
</p>
|
|
<DT>
|
|
<A NAME="to_i"><CODE>to_i</CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
Return the value of IP address as integer.
|
|
</p>
|
|
<DT>
|
|
<A NAME="to_num_s"><CODE>to_num_s</CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
Return numerical string representation
|
|
</p>
|
|
<DT>
|
|
<A NAME="to_s"><CODE>to_s</CODE></A>
|
|
<DD>
|
|
<p>
|
|
|
|
Return numerical string representation or host name.
|
|
Behavior of this method is controlled by <A HREF="Pcap.html#.convert="><CODE>Pcap.convert=</CODE></A>.
|
|
</p>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
<P ALIGN="RIGHT">
|
|
<A HREF="mailto:fukusima@goto.info.waseda.ac.jp">fukusima@goto.info.waseda.ac.jp</A><BR>
|
|
</P>
|
|
</BODY>
|
|
</HTML>
|