~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/reference/html/classGio_1_1UnixSocketAddress.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2014-04-07 13:47:09 UTC
  • mfrom: (1.2.87)
  • Revision ID: package-import@ubuntu.com-20140407134709-wlrea1wrtuy9kpzw
Tags: 2.39.93-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 <tr style="height: 56px;">
19
19
  <td style="padding-left: 0.5em;">
20
20
   <div id="projectname">glibmm
21
 
   &#160;<span id="projectnumber">2.39.4</span>
 
21
   &#160;<span id="projectnumber">2.39.93</span>
22
22
   </div>
23
23
  </td>
24
24
 </tr>
125
125
<tr class="memdesc:ab4fb1e63e629e88e5263e8bf5d095809 inherit pub_methods_classGio_1_1SocketAddress"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the socket family type of <em>address</em>.  <a href="#ab4fb1e63e629e88e5263e8bf5d095809">More...</a><br/></td></tr>
126
126
<tr class="separator:ab4fb1e63e629e88e5263e8bf5d095809 inherit pub_methods_classGio_1_1SocketAddress"><td class="memSeparator" colspan="2">&#160;</td></tr>
127
127
<tr class="memitem:adec995b9e46746a5d55b3c5af592ec44 inherit pub_methods_classGio_1_1SocketAddress"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1SocketAddress.html#adec995b9e46746a5d55b3c5af592ec44">to_native</a> (gpointer dest, gsize destlen)</td></tr>
128
 
<tr class="memdesc:adec995b9e46746a5d55b3c5af592ec44 inherit pub_methods_classGio_1_1SocketAddress"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a <a class="el" href="classGio_1_1SocketAddress.html" title="Abstract base class representing endpoints for socket communication. ">SocketAddress</a> to a native &lt;type&gt;struct sockaddr&lt;/type&gt;, which can be passed to low-level functions like connect() or <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01677.html#ga771f3f4c823c6d7fe240037dfe30a7b9">bind()</a>.  <a href="#adec995b9e46746a5d55b3c5af592ec44">More...</a><br/></td></tr>
 
128
<tr class="memdesc:adec995b9e46746a5d55b3c5af592ec44 inherit pub_methods_classGio_1_1SocketAddress"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a <a class="el" href="classGio_1_1SocketAddress.html" title="Abstract base class representing endpoints for socket communication. ">SocketAddress</a> to a native struct sockaddr, which can be passed to low-level functions like connect() or <a class="elRef" doxygen="/opt/gnome/share/mm-common/doctags/libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01677.html#ga771f3f4c823c6d7fe240037dfe30a7b9">bind()</a>.  <a href="#adec995b9e46746a5d55b3c5af592ec44">More...</a><br/></td></tr>
129
129
<tr class="separator:adec995b9e46746a5d55b3c5af592ec44 inherit pub_methods_classGio_1_1SocketAddress"><td class="memSeparator" colspan="2">&#160;</td></tr>
130
130
<tr class="memitem:a25fd6c43478da2eef785467f75ba02ec inherit pub_methods_classGio_1_1SocketAddress"><td class="memItemLeft" align="right" valign="top">gssize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1SocketAddress.html#a25fd6c43478da2eef785467f75ba02ec">get_native_size</a> () const </td></tr>
131
 
<tr class="memdesc:a25fd6c43478da2eef785467f75ba02ec inherit pub_methods_classGio_1_1SocketAddress"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the size of <em>address's</em> native &lt;type&gt;struct sockaddr&lt;/type&gt;.  <a href="#a25fd6c43478da2eef785467f75ba02ec">More...</a><br/></td></tr>
 
131
<tr class="memdesc:a25fd6c43478da2eef785467f75ba02ec inherit pub_methods_classGio_1_1SocketAddress"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the size of <em>address's</em> native struct sockaddr.  <a href="#a25fd6c43478da2eef785467f75ba02ec">More...</a><br/></td></tr>
132
132
<tr class="separator:a25fd6c43478da2eef785467f75ba02ec inherit pub_methods_classGio_1_1SocketAddress"><td class="memSeparator" colspan="2">&#160;</td></tr>
133
133
<tr class="memitem:a8ee87873bc28121cd998dfb3fc4a954f inherit pub_methods_classGio_1_1SocketAddress"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
134
134
&lt; <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="group__giommEnums.html#ga0ba69e14ad979bf9b2073ad122e38d48">SocketFamily</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1SocketAddress.html#a8ee87873bc28121cd998dfb3fc4a954f">property_family</a> () const </td></tr>
294
294
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
295
295
<div class="textblock"><p><a class="el" href="classGio_1_1UnixSocketAddress.html" title="UnixSocketAddress - UNIX SocketAddress. ">UnixSocketAddress</a> - UNIX <a class="el" href="classGio_1_1SocketAddress.html" title="Abstract base class representing endpoints for socket communication. ">SocketAddress</a>. </p>
296
296
<p>Support for UNIX-domain (also known as local) sockets.</p>
297
 
<p>UNIX domain sockets are generally visible in the filesystem. However, some systems support abstract socket names which are not visible in the filesystem and not affected by the filesystem permissions, visibility, etc. Currently this is only supported under Linux. If you attempt to use abstract sockets on other systems, function calls may return <a class="el" href="namespaceGio.html#ga0f8fdeead92e74b78d209cb3c3e9f0e9a8105194f1a5fcafb73fa0bb11a58ba37" title="Operation not supported for the current backend. ">Gio::IO_ERROR_NOT_SUPPORTED</a> errors. You can use <a class="el" href="classGio_1_1UnixSocketAddress.html#a9f4a9fe85d376f592b2c26f009e6e7c8" title="Checks if abstract UNIX domain socket names are supported. ">Gio::UnixSocketAddress::abstract_names_supported()</a> to see if abstract names are supported.</p>
 
297
<p>UNIX domain sockets are generally visible in the filesystem. However, some systems support abstract socket names which are not visible in the filesystem and not affected by the filesystem permissions, visibility, etc. Currently this is only supported under Linux. If you attempt to use abstract sockets on other systems, function calls may return <a class="el" href="namespaceGio.html#ga0f8fdeead92e74b78d209cb3c3e9f0e9a8105194f1a5fcafb73fa0bb11a58ba37" title="Operation (or one of its parameters) not supported. ">Gio::IO_ERROR_NOT_SUPPORTED</a> errors. You can use <a class="el" href="classGio_1_1UnixSocketAddress.html#a9f4a9fe85d376f592b2c26f009e6e7c8" title="Checks if abstract UNIX domain socket names are supported. ">Gio::UnixSocketAddress::abstract_names_supported()</a> to see if abstract names are supported.</p>
298
298
<p>Note that <code>&lt;giomm/unixsocketaddress.h&gt;</code> belongs to the UNIX-specific GIO interfaces. </p>
299
299
<dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000236">Since glibmm 2.28:</a></b></dt><dd></dd></dl>
300
300
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
368
368
</div><div class="memdoc">
369
369
 
370
370
<p>Checks if abstract UNIX domain socket names are supported. </p>
371
 
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000197">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
 
371
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000193">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
372
372
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if supported, <code>false</code> otherwise. </dd></dl>
373
373
 
374
374
</div>
397
397
 
398
398
<p>Creates a new <a class="el" href="classGio_1_1UnixSocketAddress.html" title="UnixSocketAddress - UNIX SocketAddress. ">UnixSocketAddress</a> for <em>path</em>. </p>
399
399
<p>To create abstract socket addresses, on systems that support that, use g_unix_socket_address_new_abstract().</p>
400
 
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000195">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
 
400
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000191">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
401
401
<dl class="params"><dt>Parameters</dt><dd>
402
402
  <table class="params">
403
403
    <tr><td class="paramname">path</td><td>The socket path. </td></tr>
498
498
 
499
499
<p>Gets <em>address's</em> path, or for abstract sockets the "name". </p>
500
500
<p>Guaranteed to be zero-terminated, but an abstract socket may contain embedded zeros, and thus you should use g_unix_socket_address_get_path_len() to get the true length of this string.</p>
501
 
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000196">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
 
501
<dl class="since_2_22"><dt><b><a class="el" href="since_2_22.html#_since_2_22000192">Since glibmm 2.22:</a></b></dt><dd></dd></dl>
502
502
<dl class="section return"><dt>Returns</dt><dd>The path for <em>address</em>. </dd></dl>
503
503
 
504
504
</div>
719
719
</div><!-- contents -->
720
720
<!-- start footer part -->
721
721
<hr class="footer"/><address class="footer"><small>
722
 
Generated on Mon Feb 17 2014 09:42:52 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
 
722
Generated on Sat Apr 5 2014 14:43:03 for glibmm by &#160;<a href="http://www.doxygen.org/index.html">
723
723
<img class="footer" src="doxygen.png" alt="doxygen"/>
724
724
</a> 1.8.4
725
725
</small></address>