2017-01-07 23:46:40 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
|
|
<title>JBus: include/jbus/Socket.hpp File Reference</title>
|
|
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(initResizable);
|
|
|
|
$(window).load(resizeHeight);
|
|
|
|
</script>
|
|
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() { init_search(); });
|
|
|
|
</script>
|
|
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
|
|
<div id="titlearea">
|
|
|
|
<table cellspacing="0" cellpadding="0">
|
|
|
|
<tbody>
|
|
|
|
<tr style="height: 56px;">
|
|
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
|
|
<div id="projectname">JBus
|
|
|
|
</div>
|
|
|
|
<div id="projectbrief">JoyBus communication server</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!-- end header part -->
|
|
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
|
|
<script type="text/javascript">
|
|
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
|
|
</script>
|
|
|
|
<div id="navrow1" class="tabs">
|
|
|
|
<ul class="tablist">
|
|
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
|
|
<li>
|
|
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
|
|
<span class="left">
|
|
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
|
|
alt=""/>
|
|
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
|
|
</span><span class="right">
|
|
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="navrow2" class="tabs2">
|
|
|
|
<ul class="tablist">
|
|
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
|
|
<div id="nav-tree">
|
|
|
|
<div id="nav-tree-contents">
|
|
|
|
<div id="nav-sync" class="sync"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
|
|
class="ui-resizable-handle">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function(){initNavTree('Socket_8hpp.html','');});
|
|
|
|
</script>
|
|
|
|
<div id="doc-content">
|
|
|
|
<!-- window showing the filter options -->
|
|
|
|
<div id="MSearchSelectWindow"
|
|
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
|
|
<div id="MSearchResultsWindow">
|
|
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
|
|
name="MSearchResults" id="MSearchResults">
|
|
|
|
</iframe>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="header">
|
|
|
|
<div class="summary">
|
|
|
|
<a href="#nested-classes">Classes</a> |
|
|
|
|
<a href="#namespaces">Namespaces</a> </div>
|
|
|
|
<div class="headertitle">
|
|
|
|
<div class="title">Socket.hpp File Reference</div> </div>
|
|
|
|
</div><!--header-->
|
|
|
|
<div class="contents">
|
|
|
|
<div class="textblock"><code>#include <sys/socket.h></code><br />
|
|
|
|
<code>#include <netinet/in.h></code><br />
|
|
|
|
<code>#include <netinet/tcp.h></code><br />
|
|
|
|
<code>#include <arpa/inet.h></code><br />
|
|
|
|
<code>#include <netdb.h></code><br />
|
|
|
|
<code>#include <unistd.h></code><br />
|
|
|
|
<code>#include <errno.h></code><br />
|
|
|
|
<code>#include <sys/types.h></code><br />
|
|
|
|
<code>#include <fcntl.h></code><br />
|
|
|
|
<code>#include <string></code><br />
|
2017-01-08 02:56:56 +00:00
|
|
|
<code>#include <memory.h></code><br />
|
2017-01-07 23:46:40 +00:00
|
|
|
<code>#include "<a class="el" href="Common_8hpp_source.html">Common.hpp</a>"</code><br />
|
|
|
|
</div><div class="textblock"><div class="dynheader">
|
|
|
|
Include dependency graph for Socket.hpp:</div>
|
|
|
|
<div class="dyncontent">
|
|
|
|
<div class="center"><img src="Socket_8hpp__incl.png" border="0" usemap="#include_2jbus_2Socket_8hpp" alt=""/></div>
|
|
|
|
<map name="include_2jbus_2Socket_8hpp" id="include_2jbus_2Socket_8hpp">
|
2017-01-08 02:56:56 +00:00
|
|
|
<area shape="rect" id="node13" href="Common_8hpp.html" title="Common.hpp" alt="" coords="1105,79,1206,104"/>
|
2017-01-07 23:46:40 +00:00
|
|
|
</map>
|
|
|
|
</div>
|
|
|
|
</div><div class="textblock"><div class="dynheader">
|
|
|
|
This graph shows which files directly or indirectly include this file:</div>
|
|
|
|
<div class="dyncontent">
|
|
|
|
<div class="center"><img src="Socket_8hpp__dep__incl.png" border="0" usemap="#include_2jbus_2Socket_8hppdep" alt=""/></div>
|
|
|
|
<map name="include_2jbus_2Socket_8hppdep" id="include_2jbus_2Socket_8hppdep">
|
|
|
|
<area shape="rect" id="node2" href="Endpoint_8hpp.html" title="include/jbus/Endpoint.hpp" alt="" coords="5,79,179,104"/>
|
|
|
|
<area shape="rect" id="node3" href="Listener_8hpp.html" title="include/jbus/Listener.hpp" alt="" coords="203,79,371,104"/>
|
|
|
|
</map>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p><a href="Socket_8hpp_source.html">Go to the source code of this file.</a></p>
|
|
|
|
<table class="memberdecls">
|
|
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
|
|
Classes</h2></td></tr>
|
|
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classjbus_1_1net_1_1IPAddress.html">jbus::net::IPAddress</a></td></tr>
|
|
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classjbus_1_1net_1_1Socket.html">jbus::net::Socket</a></td></tr>
|
|
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
</table><table class="memberdecls">
|
|
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
|
|
|
Namespaces</h2></td></tr>
|
|
|
|
<tr class="memitem:namespacejbus"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacejbus.html">jbus</a></td></tr>
|
|
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:namespacejbus_1_1net"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacejbus_1_1net.html">jbus::net</a></td></tr>
|
|
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
</table>
|
|
|
|
</div><!-- contents -->
|
|
|
|
</div><!-- doc-content -->
|
|
|
|
<!-- start footer part -->
|
|
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
|
|
<ul>
|
|
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_4525d057f72f34aebe3436e89afccf45.html">jbus</a></li><li class="navelem"><a class="el" href="Socket_8hpp.html">Socket.hpp</a></li>
|
|
|
|
<li class="footer">Generated by
|
|
|
|
<a href="http://www.doxygen.org/index.html">
|
|
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|