77
77
<td class="function_type">
78
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
78
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
80
80
<td class="function_name">
81
81
<a class="link" href="GInetAddress.html#g-inet-address-equal" title="g_inet_address_equal ()">g_inet_address_equal</a> <span class="c_punctuation">()</span>
85
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
85
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="returnvalue">guint8</span></a> *
87
87
<td class="function_name">
88
88
<a class="link" href="GInetAddress.html#g-inet-address-to-bytes" title="g_inet_address_to_bytes ()">g_inet_address_to_bytes</a> <span class="c_punctuation">()</span>
215
215
<td class="property_flags">Read / Write / Construct Only</td>
218
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
218
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
219
219
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-any" title="The “is-any” property">is-any</a></td>
220
220
<td class="property_flags">Read</td>
223
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
223
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
224
224
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-link-local" title="The “is-link-local” property">is-link-local</a></td>
225
225
<td class="property_flags">Read</td>
228
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
228
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
229
229
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-loopback" title="The “is-loopback” property">is-loopback</a></td>
230
230
<td class="property_flags">Read</td>
233
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
233
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
234
234
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-mc-global" title="The “is-mc-global” property">is-mc-global</a></td>
235
235
<td class="property_flags">Read</td>
238
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
238
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
239
239
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-mc-link-local" title="The “is-mc-link-local” property">is-mc-link-local</a></td>
240
240
<td class="property_flags">Read</td>
243
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
243
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
244
244
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-mc-node-local" title="The “is-mc-node-local” property">is-mc-node-local</a></td>
245
245
<td class="property_flags">Read</td>
248
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
248
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
249
249
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-mc-org-local" title="The “is-mc-org-local” property">is-mc-org-local</a></td>
250
250
<td class="property_flags">Read</td>
253
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
253
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
254
254
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-mc-site-local" title="The “is-mc-site-local” property">is-mc-site-local</a></td>
255
255
<td class="property_flags">Read</td>
258
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
258
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
259
259
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-multicast" title="The “is-multicast” property">is-multicast</a></td>
260
260
<td class="property_flags">Read</td>
263
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
263
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
264
264
<td class="property_name"><a class="link" href="GInetAddress.html#GInetAddress--is-site-local" title="The “is-site-local” property">is-site-local</a></td>
265
265
<td class="property_flags">Read</td>
308
308
<div class="refsect2">
309
309
<a name="g-inet-address-new-from-string"></a><h3>g_inet_address_new_from_string ()</h3>
310
310
<pre class="programlisting"><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="returnvalue">GInetAddress</span></a> *
311
g_inet_address_new_from_string (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
311
g_inet_address_new_from_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
312
312
<p>Parses <em class="parameter"><code>string</code></em>
313
313
as an IP address and creates a new <a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a>.</p>
314
314
<div class="refsect3">
340
340
<div class="refsect2">
341
341
<a name="g-inet-address-new-from-bytes"></a><h3>g_inet_address_new_from_bytes ()</h3>
342
342
<pre class="programlisting"><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="returnvalue">GInetAddress</span></a> *
343
g_inet_address_new_from_bytes (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *bytes</code></em>,
343
g_inet_address_new_from_bytes (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *bytes</code></em>,
344
344
<em class="parameter"><code><a class="link" href="GSocketAddress.html#GSocketFamily" title="enum GSocketFamily"><span class="type">GSocketFamily</span></a> family</code></em>);</pre>
345
345
<p>Creates a new <a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> from the given <em class="parameter"><code>family</code></em>
346
346
and <em class="parameter"><code>bytes</code></em>
447
447
<div class="refsect2">
448
448
<a name="g-inet-address-equal"></a><h3>g_inet_address_equal ()</h3>
449
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
449
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
450
450
g_inet_address_equal (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>,
451
451
<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *other_address</code></em>);</pre>
452
452
<p>Checks if two <a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> instances are equal, e.g. the same address.</p>
475
475
<div class="refsect3">
476
476
<a name="id-1.4.13.3.9.6.6"></a><h4>Returns</h4>
477
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>address</code></em>
477
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>address</code></em>
478
478
and <em class="parameter"><code>other_address</code></em>
479
are equal, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
479
are equal, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
482
482
<p class="since">Since 2.30</p>
609
609
<div class="refsect2">
610
610
<a name="g-inet-address-get-is-any"></a><h3>g_inet_address_get_is_any ()</h3>
611
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
611
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
612
612
g_inet_address_get_is_any (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
613
613
<p>Tests whether <em class="parameter"><code>address</code></em>
614
614
is the "any" address for its family.</p>
639
639
<div class="refsect2">
640
640
<a name="g-inet-address-get-is-loopback"></a><h3>g_inet_address_get_is_loopback ()</h3>
641
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
641
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
642
642
g_inet_address_get_is_loopback (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
643
643
<p>Tests whether <em class="parameter"><code>address</code></em>
644
644
is the loopback address for its family.</p>
669
669
<div class="refsect2">
670
670
<a name="g-inet-address-get-is-link-local"></a><h3>g_inet_address_get_is_link_local ()</h3>
671
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
671
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
672
672
g_inet_address_get_is_link_local (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
673
673
<p>Tests whether <em class="parameter"><code>address</code></em>
674
674
is a link-local address (that is, if it
701
701
<div class="refsect2">
702
702
<a name="g-inet-address-get-is-site-local"></a><h3>g_inet_address_get_is_site_local ()</h3>
703
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
703
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
704
704
g_inet_address_get_is_site_local (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
705
705
<p>Tests whether <em class="parameter"><code>address</code></em>
706
706
is a site-local address such as 10.0.0.1
734
734
<div class="refsect2">
735
735
<a name="g-inet-address-get-is-multicast"></a><h3>g_inet_address_get_is_multicast ()</h3>
736
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
736
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
737
737
g_inet_address_get_is_multicast (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
738
738
<p>Tests whether <em class="parameter"><code>address</code></em>
739
739
is a multicast address.</p>
764
764
<div class="refsect2">
765
765
<a name="g-inet-address-get-is-mc-link-local"></a><h3>g_inet_address_get_is_mc_link_local ()</h3>
766
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
766
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
767
767
g_inet_address_get_is_mc_link_local (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
768
768
<p>Tests whether <em class="parameter"><code>address</code></em>
769
769
is a link-local multicast address.</p>
794
794
<div class="refsect2">
795
795
<a name="g-inet-address-get-is-mc-node-local"></a><h3>g_inet_address_get_is_mc_node_local ()</h3>
796
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
796
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
797
797
g_inet_address_get_is_mc_node_local (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
798
798
<p>Tests whether <em class="parameter"><code>address</code></em>
799
799
is a node-local multicast address.</p>
824
824
<div class="refsect2">
825
825
<a name="g-inet-address-get-is-mc-site-local"></a><h3>g_inet_address_get_is_mc_site_local ()</h3>
826
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
826
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
827
827
g_inet_address_get_is_mc_site_local (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
828
828
<p>Tests whether <em class="parameter"><code>address</code></em>
829
829
is a site-local multicast address.</p>
854
854
<div class="refsect2">
855
855
<a name="g-inet-address-get-is-mc-org-local"></a><h3>g_inet_address_get_is_mc_org_local ()</h3>
856
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
856
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
857
857
g_inet_address_get_is_mc_org_local (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
858
858
<p>Tests whether <em class="parameter"><code>address</code></em>
859
859
is an organization-local multicast address.</p>
884
884
<div class="refsect2">
885
885
<a name="g-inet-address-get-is-mc-global"></a><h3>g_inet_address_get_is_mc_global ()</h3>
886
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
886
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
887
887
g_inet_address_get_is_mc_global (<em class="parameter"><code><a class="link" href="GInetAddress.html" title="GInetAddress"><span class="type">GInetAddress</span></a> *address</code></em>);</pre>
888
888
<p>Tests whether <em class="parameter"><code>address</code></em>
889
889
is a global multicast address.</p>