1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>glibmm 2.4: Gio::InetAddress Class Reference</title>
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
<title>glibmm: Gio::InetAddress Class Reference</title>
4
<link href="tabs.css" rel="stylesheet" type="text/css">
4
5
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<body bgcolor="#ffffff">
7
<table border="0" width="100%">
9
<td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
10
<td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
14
<a class="qindex" href="http://www.gtkmm.org/documentation.shtml">Main Page</a>
15
<a class="qindex" href="namespaces.html">glibmm Namespaces</a>
16
<a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a>
20
<!-- begin main content -->
22
<!-- Generated by Doxygen 1.5.9 -->
7
<!-- Generated by Doxygen 1.5.8 -->
8
<div class="navigation" id="top">
11
<li><a href="index.html"><span>Main Page</span></a></li>
12
<li><a href="pages.html"><span>Related Pages</span></a></li>
13
<li><a href="modules.html"><span>Modules</span></a></li>
14
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
15
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
16
<li><a href="examples.html"><span>Examples</span></a></li>
21
<li><a href="annotated.html"><span>Class List</span></a></li>
22
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
23
<li><a href="functions.html"><span>Class Members</span></a></li>
23
26
<div class="navpath"><a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1InetAddress.html">InetAddress</a>
25
29
<div class="contents">
26
<h1>Gio::InetAddress Class Reference</h1><!-- doxytag: class="Gio::InetAddress" --><!-- doxytag: inherits="Glib::Object" -->An IPv4/IPv6 address.
27
<a href="#_details">More...</a>
30
<h1>Gio::InetAddress Class Reference</h1><!-- doxytag: class="Gio::InetAddress" --><!-- doxytag: inherits="Glib::Object" -->An IPv4/IPv6 address. <a href="#_details">More...</a>
32
Inherits <a class="el" href="classGlib_1_1Object.html">Glib::Object</a>.
29
34
<div class="dynheader">
30
Inheritance diagram for Gio::InetAddress:</div>
35
Collaboration diagram for Gio::InetAddress:</div>
31
36
<div class="dynsection">
32
<p><center><img src="classGio_1_1InetAddress__inherit__graph.png" border="0" usemap="#Gio_1_1InetAddress__inherit__map" alt="Inheritance graph"></center>
33
<map name="Gio_1_1InetAddress__inherit__map">
34
<area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="5,83,125,112"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"></map>
37
<p><center><img src="classGio_1_1InetAddress__coll__graph.png" border="0" usemap="#Gio_1_1InetAddress__coll__map" alt="Collaboration graph"></center>
38
<map name="Gio_1_1InetAddress__coll__map">
39
<area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,155,111,181"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="5,80,125,107"></map>
35
40
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
38
43
<a href="classGio_1_1InetAddress-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
40
45
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#681469990ccd8829c9c56f2c21b987ff">~InetAddress</a> ()</td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">GInetAddress* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#814cf259fbe2075145372ff8f041e2fd">gobj</a> ()</td></tr>
45
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#814cf259fbe2075145372ff8f041e2fd"></a><br></td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GInetAddress* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#02955cf2f6af819e6a33fae34f02a35d">gobj</a> () const </td></tr>
48
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#02955cf2f6af819e6a33fae34f02a35d"></a><br></td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">GInetAddress* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#c5740ac33a8c1507165bfb24ad05867b">gobj_copy</a> ()</td></tr>
51
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#c5740ac33a8c1507165bfb24ad05867b"></a><br></td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">const guint8* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#55511045dd96127a9e0c71277f6f09e9">to_bytes</a> () const </td></tr>
54
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the raw binary address data from <em>address</em>. <a href="#55511045dd96127a9e0c71277f6f09e9"></a><br></td></tr>
55
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#ad0c75db355f9202eb2d9abdfd62664f">to_string</a> () const </td></tr>
57
<tr><td class="mdescLeft"> </td><td class="mdescRight">Converts <em>address</em> to string form. <a href="#ad0c75db355f9202eb2d9abdfd62664f"></a><br></td></tr>
58
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#ad520fbba41d5d4ff350c0e0b8aa8bd2">get_family</a> () const </td></tr>
60
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets <em>address's</em> family. <a href="#ad520fbba41d5d4ff350c0e0b8aa8bd2"></a><br></td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#195f40df5aa0a539d4199dd8c89b67ce">get_is_any</a> () const </td></tr>
63
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is the "any" address for its family. <a href="#195f40df5aa0a539d4199dd8c89b67ce"></a><br></td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#e27877a353888bda5cc7d6ef439b6f43">get_is_link_local</a> () const </td></tr>
66
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a link-local address (that is, if it identifies a host on a local network that is not connected to the Internet). <a href="#e27877a353888bda5cc7d6ef439b6f43"></a><br></td></tr>
67
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#123434ddbf161d5bd24bdd6e1a242042">get_is_loopback</a> () const </td></tr>
69
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is the loopback address for its family. <a href="#123434ddbf161d5bd24bdd6e1a242042"></a><br></td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#4bc588e6ceab049f81458d17a282a696">get_is_mc_global</a> () const </td></tr>
72
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a global multicast address. <a href="#4bc588e6ceab049f81458d17a282a696"></a><br></td></tr>
73
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#0759e79028e0f3a967f21e9aa785708c">get_is_mc_link_local</a> () const </td></tr>
75
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a link-local multicast address. <a href="#0759e79028e0f3a967f21e9aa785708c"></a><br></td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#30fedd1ab379f61ad0d43822a7fbd414">get_is_mc_node_local</a> () const </td></tr>
78
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a node-local multicast address. <a href="#30fedd1ab379f61ad0d43822a7fbd414"></a><br></td></tr>
79
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#1933a994b55b0d3198187813aadabb8a">get_is_mc_org_local</a> () const </td></tr>
81
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is an organization-local multicast address. <a href="#1933a994b55b0d3198187813aadabb8a"></a><br></td></tr>
82
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#f50cbe1bd1fc064e37759026f60a2e78">get_is_mc_site_local</a> () const </td></tr>
84
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a site-local multicast address. <a href="#f50cbe1bd1fc064e37759026f60a2e78"></a><br></td></tr>
85
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#1751ce4f0815d2bef25c789f6a7c2c51">get_is_multicast</a> () const </td></tr>
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a multicast address. <a href="#1751ce4f0815d2bef25c789f6a7c2c51"></a><br></td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#6f18baee3fd0e8d4411ed6300e3f4ac9">get_is_site_local</a> () const </td></tr>
90
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a site-local address such as 10.0.0.1 (that is, the address identifies a host on a local network that can not be reached directly from the Internet, but which may have outgoing Internet connectivity via a NAT or firewall). <a href="#6f18baee3fd0e8d4411ed6300e3f4ac9"></a><br></td></tr>
91
<tr><td class="memItemLeft" nowrap align="right" valign="top">gsize </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#adfe97104f2bc53014fd70a2f1d8541e">get_native_size</a> () const </td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#681469990ccd8829c9c56f2c21b987ff">~InetAddress</a> ()</td></tr>
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">GInetAddress* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#814cf259fbe2075145372ff8f041e2fd">gobj</a> ()</td></tr>
50
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#814cf259fbe2075145372ff8f041e2fd"></a><br></td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GInetAddress* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#02955cf2f6af819e6a33fae34f02a35d">gobj</a> () const </td></tr>
53
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#02955cf2f6af819e6a33fae34f02a35d"></a><br></td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">GInetAddress* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#c5740ac33a8c1507165bfb24ad05867b">gobj_copy</a> ()</td></tr>
56
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#c5740ac33a8c1507165bfb24ad05867b"></a><br></td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">const guint8* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#55511045dd96127a9e0c71277f6f09e9">to_bytes</a> () const </td></tr>
59
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the raw binary address data from <em>address</em>. <a href="#55511045dd96127a9e0c71277f6f09e9"></a><br></td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#ad0c75db355f9202eb2d9abdfd62664f">to_string</a> () const </td></tr>
62
<tr><td class="mdescLeft"> </td><td class="mdescRight">Converts <em>address</em> to string form. <a href="#ad0c75db355f9202eb2d9abdfd62664f"></a><br></td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#ad520fbba41d5d4ff350c0e0b8aa8bd2">get_family</a> () const </td></tr>
65
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets <em>address's</em> family. <a href="#ad520fbba41d5d4ff350c0e0b8aa8bd2"></a><br></td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#195f40df5aa0a539d4199dd8c89b67ce">get_is_any</a> () const </td></tr>
68
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is the "any" address for its family. <a href="#195f40df5aa0a539d4199dd8c89b67ce"></a><br></td></tr>
69
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#e27877a353888bda5cc7d6ef439b6f43">get_is_link_local</a> () const </td></tr>
71
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a link-local address (that is, if it identifies a host on a local network that is not connected to the Internet). <a href="#e27877a353888bda5cc7d6ef439b6f43"></a><br></td></tr>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#123434ddbf161d5bd24bdd6e1a242042">get_is_loopback</a> () const </td></tr>
74
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is the loopback address for its family. <a href="#123434ddbf161d5bd24bdd6e1a242042"></a><br></td></tr>
75
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#4bc588e6ceab049f81458d17a282a696">get_is_mc_global</a> () const </td></tr>
77
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a global multicast address. <a href="#4bc588e6ceab049f81458d17a282a696"></a><br></td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#0759e79028e0f3a967f21e9aa785708c">get_is_mc_link_local</a> () const </td></tr>
80
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a link-local multicast address. <a href="#0759e79028e0f3a967f21e9aa785708c"></a><br></td></tr>
81
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#30fedd1ab379f61ad0d43822a7fbd414">get_is_mc_node_local</a> () const </td></tr>
83
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a node-local multicast address. <a href="#30fedd1ab379f61ad0d43822a7fbd414"></a><br></td></tr>
84
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#1933a994b55b0d3198187813aadabb8a">get_is_mc_org_local</a> () const </td></tr>
86
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is an organization-local multicast address. <a href="#1933a994b55b0d3198187813aadabb8a"></a><br></td></tr>
87
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#f50cbe1bd1fc064e37759026f60a2e78">get_is_mc_site_local</a> () const </td></tr>
89
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a site-local multicast address. <a href="#f50cbe1bd1fc064e37759026f60a2e78"></a><br></td></tr>
90
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#1751ce4f0815d2bef25c789f6a7c2c51">get_is_multicast</a> () const </td></tr>
92
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a multicast address. <a href="#1751ce4f0815d2bef25c789f6a7c2c51"></a><br></td></tr>
93
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#6f18baee3fd0e8d4411ed6300e3f4ac9">get_is_site_local</a> () const </td></tr>
95
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests whether <em>address</em> is a site-local address such as 10.0.0.1 (that is, the address identifies a host on a local network that can not be reached directly from the Internet, but which may have outgoing Internet connectivity via a NAT or firewall). <a href="#6f18baee3fd0e8d4411ed6300e3f4ac9"></a><br></td></tr>
96
<tr><td class="memItemLeft" nowrap align="right" valign="top">gsize </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#adfe97104f2bc53014fd70a2f1d8541e">get_native_size</a> () const </td></tr>
93
98
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
94
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1InetAddress.html">InetAddress</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#d9a5b29ab4211c5e6d03d7630d1f352e">create</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">string</a>)</td></tr>
96
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1InetAddress.html">InetAddress</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#b34823f20a1719d0d4dd0b8908791196">create</a> (const guint8* bytes, <a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
98
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1InetAddress.html">InetAddress</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#1bbce665174aea6b6fd13414e69ab2d9">create</a> (<a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
99
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1InetAddress.html">InetAddress</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#d9a5b29ab4211c5e6d03d7630d1f352e">create</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00962.html#f4d08898cac5ae6fe1d0a15a6f90d271">string</a>)</td></tr>
101
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1InetAddress.html">InetAddress</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#b34823f20a1719d0d4dd0b8908791196">create</a> (const guint8* bytes, <a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
103
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1InetAddress.html">InetAddress</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#1bbce665174aea6b6fd13414e69ab2d9">create</a> (<a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
100
105
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
101
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#6da6b8c7cb8f15170ab889f912bc8486">InetAddress</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">string</a>)</td></tr>
103
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#eca7299962f7b75793c493ff32d91abe">InetAddress</a> (const guint8* bytes, <a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
105
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#bd9c6a6a7a2aabedd88eafb4bfd69458">InetAddress</a> (<a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
106
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#6da6b8c7cb8f15170ab889f912bc8486">InetAddress</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00962.html#f4d08898cac5ae6fe1d0a15a6f90d271">string</a>)</td></tr>
108
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#eca7299962f7b75793c493ff32d91abe">InetAddress</a> (const guint8* bytes, <a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
110
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#bd9c6a6a7a2aabedd88eafb4bfd69458">InetAddress</a> (<a class="el" href="group__giommEnums.html#g0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> family)</td></tr>
107
112
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
108
113
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1InetAddress.html">Gio::InetAddress</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#b8ed0814ec989e9c9b07332b19958a01">wrap</a> (GInetAddress* object, bool take_copy=false)</td></tr>
114
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1InetAddress.html">Gio::InetAddress</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1InetAddress.html#b8ed0814ec989e9c9b07332b19958a01">wrap</a> (GInetAddress* object, bool take_copy=false)</td></tr>
111
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#b8ed0814ec989e9c9b07332b19958a01"></a><br></td></tr>
116
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#b8ed0814ec989e9c9b07332b19958a01"></a><br></td></tr>
113
118
<hr><a name="_details"></a><h2>Detailed Description</h2>
114
An IPv4/IPv6 address.
119
An IPv4/IPv6 address. <p>
116
120
<a class="el" href="classGio_1_1InetAddress.html" title="An IPv4/IPv6 address.">InetAddress</a> represents an IPv4 or IPv6 internet address. Use <a class="el" href="classGio_1_1Resolver.html#ea1576fa2684d9bca58a589098a8371e" title="Synchronously resolves hostname to determine its associated IP address(es).">Resolver::lookup_by_name()</a> or <a class="el" href="classGio_1_1Resolver.html#0130482bb442e3a006e06d57665c2318">Resolver::lookup_by_name_async()</a> to look up the <a class="el" href="classGio_1_1InetAddress.html" title="An IPv4/IPv6 address.">InetAddress</a> for a hostname. Use <a class="el" href="classGio_1_1Resolver.html#bb5740225148191d2e93d7a6b12caf23" title="Synchronously reverse-resolves address to determine its associated hostname.">Resolver::lookup_by_address()</a> or <a class="el" href="classGio_1_1Resolver.html#3bfd36d312e60b748df35089d5126b4f">Resolver::lookup_by_address_async()</a> to look up the hostname for a <a class="el" href="classGio_1_1InetAddress.html" title="An IPv4/IPv6 address.">InetAddress</a>.<p>
117
121
To actually connect to a remote host, you will need a <a class="el" href="classGio_1_1InetSocketAddress.html" title="Internet SocketAddress.">InetSocketAddress</a> (which includes a <a class="el" href="classGio_1_1InetAddress.html" title="An IPv4/IPv6 address.">InetAddress</a> as well as a port number).<p>
118
<dl class="newin2p22s" compact><dt><b><a class="el" href="newin2p22s.html#_newin2p22s000024">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
122
<dl compact><dt><b><a class="el" href="since_2_22.html#_since_2_22000024">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
119
123
<hr><h2>Constructor & Destructor Documentation</h2>
120
124
<a class="anchor" name="681469990ccd8829c9c56f2c21b987ff"></a><!-- doxytag: member="Gio::InetAddress::~InetAddress" ref="681469990ccd8829c9c56f2c21b987ff" args="()" -->
121
125
<div class="memitem">
122
126
<div class="memproto">
123
127
<table class="memname">
125
<td class="memname">virtual Gio::InetAddress::~InetAddress </td>
129
<td class="memname">virtual Gio::InetAddress::~InetAddress </td>
127
<td class="paramname"> </td>
128
<td> ) </td>
131
<td class="paramname"> </td>
132
<td> ) </td>
129
133
<td><code> [virtual]</code></td>