mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 17:59:25 +01:00
1218 lines
57 KiB
HTML
1218 lines
57 KiB
HTML
|
<!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.10"/>
|
||
|
<title>WUT: Socket</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="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">WUT
|
||
|
 <span id="projectnumber">0.1</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">Wii U Toolchain</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.10 -->
|
||
|
<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="modules.html"><span>Modules</span></a></li>
|
||
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
||
|
<li><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><!-- top -->
|
||
|
<!-- 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">Data Structures</a> |
|
||
|
<a href="#define-members">Macros</a> |
|
||
|
<a href="#typedef-members">Typedefs</a> |
|
||
|
<a href="#func-members">Functions</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">Socket</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||
|
Data Structures</h2></td></tr>
|
||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structsockaddr.html">sockaddr</a></td></tr>
|
||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structsockaddr__storage.html">sockaddr_storage</a></td></tr>
|
||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structlinger.html">linger</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="define-members"></a>
|
||
|
Macros</h2></td></tr>
|
||
|
<tr class="memitem:ga92d045f6ee2f343d6b28830a9fec082e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga92d045f6ee2f343d6b28830a9fec082e">SOL_SOCKET</a>   0xFFFF</td></tr>
|
||
|
<tr class="separator:ga92d045f6ee2f343d6b28830a9fec082e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga51dba11ffc8e3b1bf695e721b3144094"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga51dba11ffc8e3b1bf695e721b3144094">PF_UNSPEC</a>   0</td></tr>
|
||
|
<tr class="separator:ga51dba11ffc8e3b1bf695e721b3144094"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga3f5da0b5be27fe31ec7cc11bfa8d1a25"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga3f5da0b5be27fe31ec7cc11bfa8d1a25">PF_INET</a>   2</td></tr>
|
||
|
<tr class="separator:ga3f5da0b5be27fe31ec7cc11bfa8d1a25"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga323f2649198fc7e64b19881869265618"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga323f2649198fc7e64b19881869265618">PF_INET6</a>   23</td></tr>
|
||
|
<tr class="separator:ga323f2649198fc7e64b19881869265618"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gae77ae24b14b7b7f294f3e04121173f12"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gae77ae24b14b7b7f294f3e04121173f12">AF_UNSPEC</a>   <a class="el" href="group__nsysnet__socket.html#ga51dba11ffc8e3b1bf695e721b3144094">PF_UNSPEC</a></td></tr>
|
||
|
<tr class="separator:gae77ae24b14b7b7f294f3e04121173f12"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga9930604d0e32588eae76f43ca38e7826"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga9930604d0e32588eae76f43ca38e7826">AF_INET</a>   <a class="el" href="group__nsysnet__socket.html#ga3f5da0b5be27fe31ec7cc11bfa8d1a25">PF_INET</a></td></tr>
|
||
|
<tr class="separator:ga9930604d0e32588eae76f43ca38e7826"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaa03706b2738b9a58d4985dfbe99e1bac"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaa03706b2738b9a58d4985dfbe99e1bac">AF_INET6</a>   <a class="el" href="group__nsysnet__socket.html#ga323f2649198fc7e64b19881869265618">PF_INET6</a></td></tr>
|
||
|
<tr class="separator:gaa03706b2738b9a58d4985dfbe99e1bac"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga249394484f9410a2e3f8eba24657feb9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga249394484f9410a2e3f8eba24657feb9">SOCK_STREAM</a>   1</td></tr>
|
||
|
<tr class="separator:ga249394484f9410a2e3f8eba24657feb9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga4db8b9a846c67404db0b6f014f9a9fdf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga4db8b9a846c67404db0b6f014f9a9fdf">SOCK_DGRAM</a>   2</td></tr>
|
||
|
<tr class="separator:ga4db8b9a846c67404db0b6f014f9a9fdf"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga99bc202592bac1adbd525f47b359b722"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga99bc202592bac1adbd525f47b359b722">MSG_OOB</a>   0x0001</td></tr>
|
||
|
<tr class="separator:ga99bc202592bac1adbd525f47b359b722"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga60c35b1016d0d87fe1066ea817acad98"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga60c35b1016d0d87fe1066ea817acad98">MSG_PEEK</a>   0x0002</td></tr>
|
||
|
<tr class="separator:ga60c35b1016d0d87fe1066ea817acad98"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gab18d3d439e4a9c8d0f73e7166e8eb376"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gab18d3d439e4a9c8d0f73e7166e8eb376">MSG_DONTWAIT</a>   0x0004</td></tr>
|
||
|
<tr class="separator:gab18d3d439e4a9c8d0f73e7166e8eb376"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga9643e949e179396230792b56fe7f6f06"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga9643e949e179396230792b56fe7f6f06">MSG_DONTROUTE</a>   0x0000</td></tr>
|
||
|
<tr class="separator:ga9643e949e179396230792b56fe7f6f06"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga0c0fac4635e91ca9d839e20a09d3989e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga0c0fac4635e91ca9d839e20a09d3989e">MSG_WAITALL</a>   0x0000</td></tr>
|
||
|
<tr class="separator:ga0c0fac4635e91ca9d839e20a09d3989e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga7b7c7e5e523ff0fc8823e7bff7665ead"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga7b7c7e5e523ff0fc8823e7bff7665ead">MSG_MORE</a>   0x0000</td></tr>
|
||
|
<tr class="separator:ga7b7c7e5e523ff0fc8823e7bff7665ead"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga9f55d0e90dc8cc6b2287312435cdde48"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga9f55d0e90dc8cc6b2287312435cdde48">MSG_NOSIGNAL</a>   0x0000</td></tr>
|
||
|
<tr class="separator:ga9f55d0e90dc8cc6b2287312435cdde48"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaf1c8cf84ac37451afaef3bde9976b6e1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaf1c8cf84ac37451afaef3bde9976b6e1">SHUT_RD</a>   0</td></tr>
|
||
|
<tr class="separator:gaf1c8cf84ac37451afaef3bde9976b6e1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaddb0a758e6fafdd89f5b7120f84738eb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaddb0a758e6fafdd89f5b7120f84738eb">SHUT_WR</a>   1</td></tr>
|
||
|
<tr class="separator:gaddb0a758e6fafdd89f5b7120f84738eb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga80c54d1399557c97a0c81a319d08e9db"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga80c54d1399557c97a0c81a319d08e9db">SHUT_RDWR</a>   2</td></tr>
|
||
|
<tr class="separator:ga80c54d1399557c97a0c81a319d08e9db"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga5589f74fada0d0cd47bd6ea8741a58ee"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga5589f74fada0d0cd47bd6ea8741a58ee">SO_REUSEADDR</a>   0x0004</td></tr>
|
||
|
<tr class="separator:ga5589f74fada0d0cd47bd6ea8741a58ee"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga552d2cd8ffc1157c016299c5eba95b72"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga552d2cd8ffc1157c016299c5eba95b72">SO_LINGER</a>   0x0080</td></tr>
|
||
|
<tr class="separator:ga552d2cd8ffc1157c016299c5eba95b72"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga1ab39f351679dd0e32436f0e6c9890d4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga1ab39f351679dd0e32436f0e6c9890d4">SO_OOBINLINE</a>   0x0100</td></tr>
|
||
|
<tr class="separator:ga1ab39f351679dd0e32436f0e6c9890d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaf618cbb85161ff3196d3bcdf7565ba64"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaf618cbb85161ff3196d3bcdf7565ba64">SO_SNDBUF</a>   0x1001</td></tr>
|
||
|
<tr class="separator:gaf618cbb85161ff3196d3bcdf7565ba64"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga0db12e960ac303030400d9fd95391b52"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga0db12e960ac303030400d9fd95391b52">SO_RCVBUF</a>   0x1002</td></tr>
|
||
|
<tr class="separator:ga0db12e960ac303030400d9fd95391b52"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga5b4707f0d55cfacf9cd25e5554975c8f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga5b4707f0d55cfacf9cd25e5554975c8f">SO_SNDLOWAT</a>   0x1003</td></tr>
|
||
|
<tr class="separator:ga5b4707f0d55cfacf9cd25e5554975c8f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gac750f0f8266f391654627fe3068f79c8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gac750f0f8266f391654627fe3068f79c8">SO_RCVLOWAT</a>   0x1004</td></tr>
|
||
|
<tr class="separator:gac750f0f8266f391654627fe3068f79c8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga8ab1e00e94a92737d3a4b407f7fa90f1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga8ab1e00e94a92737d3a4b407f7fa90f1">SO_TYPE</a>   0x1008</td></tr>
|
||
|
<tr class="separator:ga8ab1e00e94a92737d3a4b407f7fa90f1"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga040d4fd00495232970a03425bc00e77a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga040d4fd00495232970a03425bc00e77a">SO_ERROR</a>   0x1009</td></tr>
|
||
|
<tr class="separator:ga040d4fd00495232970a03425bc00e77a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
||
|
Typedefs</h2></td></tr>
|
||
|
<tr class="memitem:ga3f5f480bed01f54df564b99350f1d1bb"><td class="memItemLeft" align="right" valign="top">typedef uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a></td></tr>
|
||
|
<tr class="separator:ga3f5f480bed01f54df564b99350f1d1bb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga22bf2db06ebc5466014e637d419cef90"><td class="memItemLeft" align="right" valign="top">typedef uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga22bf2db06ebc5466014e637d419cef90">sa_family_t</a></td></tr>
|
||
|
<tr class="separator:ga22bf2db06ebc5466014e637d419cef90"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||
|
Functions</h2></td></tr>
|
||
|
<tr class="memitem:gaa6779bbd3ee86fec7811f4ab4b916954"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaa6779bbd3ee86fec7811f4ab4b916954">socket_lib_init</a> ()</td></tr>
|
||
|
<tr class="separator:gaa6779bbd3ee86fec7811f4ab4b916954"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga7937a1ce0c865387d092f8440f7ef5bd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga7937a1ce0c865387d092f8440f7ef5bd">accept</a> (int sockfd, struct <a class="el" href="structsockaddr.html">sockaddr</a> *addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> *addrlen)</td></tr>
|
||
|
<tr class="separator:ga7937a1ce0c865387d092f8440f7ef5bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga82199bcd81894331533a25f08e172480"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga82199bcd81894331533a25f08e172480">bind</a> (int sockfd, const struct <a class="el" href="structsockaddr.html">sockaddr</a> *addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> addrlen)</td></tr>
|
||
|
<tr class="separator:ga82199bcd81894331533a25f08e172480"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gafb914106562ca7c54f19afc4f01b0bb8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gafb914106562ca7c54f19afc4f01b0bb8">closesocket</a> (int sockfd)</td></tr>
|
||
|
<tr class="separator:gafb914106562ca7c54f19afc4f01b0bb8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gacdfd99b6c59c833776412fbb0c539efb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gacdfd99b6c59c833776412fbb0c539efb">connect</a> (int sockfd, const struct <a class="el" href="structsockaddr.html">sockaddr</a> *addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> addrlen)</td></tr>
|
||
|
<tr class="separator:gacdfd99b6c59c833776412fbb0c539efb"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gad56bbd2dab72a7d4062e62bd0b129435"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gad56bbd2dab72a7d4062e62bd0b129435">getpeername</a> (int sockfd, struct <a class="el" href="structsockaddr.html">sockaddr</a> *addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> *addrlen)</td></tr>
|
||
|
<tr class="separator:gad56bbd2dab72a7d4062e62bd0b129435"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga7895af1011e7b9ff128eda29e773a84e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga7895af1011e7b9ff128eda29e773a84e">getsockname</a> (int sockfd, struct <a class="el" href="structsockaddr.html">sockaddr</a> *addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> *addrlen)</td></tr>
|
||
|
<tr class="separator:ga7895af1011e7b9ff128eda29e773a84e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gab81d992040a0b29b4f9fd20a263ab1d0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gab81d992040a0b29b4f9fd20a263ab1d0">getsockopt</a> (int sockfd, int level, int optname, void *optval, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> *optlen)</td></tr>
|
||
|
<tr class="separator:gab81d992040a0b29b4f9fd20a263ab1d0"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga5989c21d05cb17caba26cef496a7beea"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga5989c21d05cb17caba26cef496a7beea">listen</a> (int sockfd, int backlog)</td></tr>
|
||
|
<tr class="separator:ga5989c21d05cb17caba26cef496a7beea"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga49c565342c0f29cec5461ec22c3b1b3d"><td class="memItemLeft" align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga49c565342c0f29cec5461ec22c3b1b3d">recv</a> (int sockfd, void *buf, size_t len, int flags)</td></tr>
|
||
|
<tr class="separator:ga49c565342c0f29cec5461ec22c3b1b3d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gad144bb8d4119d5fa0ee5b6c4d06bc645"><td class="memItemLeft" align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gad144bb8d4119d5fa0ee5b6c4d06bc645">recvfrom</a> (int sockfd, void *buf, size_t len, int flags, struct <a class="el" href="structsockaddr.html">sockaddr</a> *src_addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> *addrlen)</td></tr>
|
||
|
<tr class="separator:gad144bb8d4119d5fa0ee5b6c4d06bc645"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gabe712ada38e96543e13ee5ec42c0849f"><td class="memItemLeft" align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gabe712ada38e96543e13ee5ec42c0849f">send</a> (int sockfd, const void *buf, size_t len, int flags)</td></tr>
|
||
|
<tr class="separator:gabe712ada38e96543e13ee5ec42c0849f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaa481d86e1f7cfb428547c552eee05511"><td class="memItemLeft" align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaa481d86e1f7cfb428547c552eee05511">sendto</a> (int sockfd, const void *buf, size_t len, int flags, const struct <a class="el" href="structsockaddr.html">sockaddr</a> *dest_addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> addrlen)</td></tr>
|
||
|
<tr class="separator:gaa481d86e1f7cfb428547c552eee05511"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaf188b4433461a4224c209231689e8270"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaf188b4433461a4224c209231689e8270">setsockopt</a> (int sockfd, int level, int optname, const void *optval, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> optlen)</td></tr>
|
||
|
<tr class="separator:gaf188b4433461a4224c209231689e8270"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ga402425b8e1ceab40ac38a949babcf1aa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga402425b8e1ceab40ac38a949babcf1aa">shutdown</a> (int sockfd, int how)</td></tr>
|
||
|
<tr class="separator:ga402425b8e1ceab40ac38a949babcf1aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gaf4e0711877c45a41168ac677b0670ccd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaf4e0711877c45a41168ac677b0670ccd">socket</a> (int domain, int type, int protocol)</td></tr>
|
||
|
<tr class="separator:gaf4e0711877c45a41168ac677b0670ccd"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:gadd056a205aa6181762de87c1d8c9a210"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gadd056a205aa6181762de87c1d8c9a210">select</a> (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)</td></tr>
|
||
|
<tr class="separator:gadd056a205aa6181762de87c1d8c9a210"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
||
|
<a class="anchor" id="ga92d045f6ee2f343d6b28830a9fec082e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SOL_SOCKET   0xFFFF</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00013">13</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga51dba11ffc8e3b1bf695e721b3144094"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define PF_UNSPEC   0</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00015">15</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga3f5da0b5be27fe31ec7cc11bfa8d1a25"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define PF_INET   2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00016">16</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga323f2649198fc7e64b19881869265618"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define PF_INET6   23</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00017">17</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gae77ae24b14b7b7f294f3e04121173f12"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define AF_UNSPEC   <a class="el" href="group__nsysnet__socket.html#ga51dba11ffc8e3b1bf695e721b3144094">PF_UNSPEC</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00019">19</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga9930604d0e32588eae76f43ca38e7826"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define AF_INET   <a class="el" href="group__nsysnet__socket.html#ga3f5da0b5be27fe31ec7cc11bfa8d1a25">PF_INET</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00020">20</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaa03706b2738b9a58d4985dfbe99e1bac"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define AF_INET6   <a class="el" href="group__nsysnet__socket.html#ga323f2649198fc7e64b19881869265618">PF_INET6</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00021">21</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga249394484f9410a2e3f8eba24657feb9"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SOCK_STREAM   1</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00023">23</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga4db8b9a846c67404db0b6f014f9a9fdf"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SOCK_DGRAM   2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00024">24</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga99bc202592bac1adbd525f47b359b722"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define MSG_OOB   0x0001</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00026">26</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga60c35b1016d0d87fe1066ea817acad98"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define MSG_PEEK   0x0002</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00027">27</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gab18d3d439e4a9c8d0f73e7166e8eb376"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define MSG_DONTWAIT   0x0004</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00028">28</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga9643e949e179396230792b56fe7f6f06"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define MSG_DONTROUTE   0x0000</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00029">29</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga0c0fac4635e91ca9d839e20a09d3989e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define MSG_WAITALL   0x0000</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00030">30</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga7b7c7e5e523ff0fc8823e7bff7665ead"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define MSG_MORE   0x0000</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00031">31</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga9f55d0e90dc8cc6b2287312435cdde48"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define MSG_NOSIGNAL   0x0000</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00032">32</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaf1c8cf84ac37451afaef3bde9976b6e1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SHUT_RD   0</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00034">34</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaddb0a758e6fafdd89f5b7120f84738eb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SHUT_WR   1</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00035">35</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga80c54d1399557c97a0c81a319d08e9db"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SHUT_RDWR   2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00036">36</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga5589f74fada0d0cd47bd6ea8741a58ee"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_REUSEADDR   0x0004</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00041">41</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga552d2cd8ffc1157c016299c5eba95b72"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_LINGER   0x0080</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00042">42</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga1ab39f351679dd0e32436f0e6c9890d4"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_OOBINLINE   0x0100</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00043">43</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaf618cbb85161ff3196d3bcdf7565ba64"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_SNDBUF   0x1001</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00044">44</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga0db12e960ac303030400d9fd95391b52"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_RCVBUF   0x1002</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00045">45</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga5b4707f0d55cfacf9cd25e5554975c8f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_SNDLOWAT   0x1003</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00046">46</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gac750f0f8266f391654627fe3068f79c8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_RCVLOWAT   0x1004</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00047">47</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga8ab1e00e94a92737d3a4b407f7fa90f1"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_TYPE   0x1008</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00048">48</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga040d4fd00495232970a03425bc00e77a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">#define SO_ERROR   0x1009</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00049">49</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Typedef Documentation</h2>
|
||
|
<a class="anchor" id="ga3f5f480bed01f54df564b99350f1d1bb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef uint32_t <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00051">51</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga22bf2db06ebc5466014e637d419cef90"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">typedef uint16_t <a class="el" href="group__nsysnet__socket.html#ga22bf2db06ebc5466014e637d419cef90">sa_family_t</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Definition at line <a class="el" href="nsysnet_2socket_8h_source.html#l00052">52</a> of file <a class="el" href="nsysnet_2socket_8h_source.html">socket.h</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Function Documentation</h2>
|
||
|
<a class="anchor" id="gaa6779bbd3ee86fec7811f4ab4b916954"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void socket_lib_init </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga7937a1ce0c865387d092f8440f7ef5bd"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int accept </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">struct <a class="el" href="structsockaddr.html">sockaddr</a> * </td>
|
||
|
<td class="paramname"><em>addr</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> * </td>
|
||
|
<td class="paramname"><em>addrlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga82199bcd81894331533a25f08e172480"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int bind </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const struct <a class="el" href="structsockaddr.html">sockaddr</a> * </td>
|
||
|
<td class="paramname"><em>addr</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> </td>
|
||
|
<td class="paramname"><em>addrlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gafb914106562ca7c54f19afc4f01b0bb8"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int closesocket </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gacdfd99b6c59c833776412fbb0c539efb"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int connect </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const struct <a class="el" href="structsockaddr.html">sockaddr</a> * </td>
|
||
|
<td class="paramname"><em>addr</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> </td>
|
||
|
<td class="paramname"><em>addrlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gad56bbd2dab72a7d4062e62bd0b129435"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int getpeername </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">struct <a class="el" href="structsockaddr.html">sockaddr</a> * </td>
|
||
|
<td class="paramname"><em>addr</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> * </td>
|
||
|
<td class="paramname"><em>addrlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga7895af1011e7b9ff128eda29e773a84e"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int getsockname </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">struct <a class="el" href="structsockaddr.html">sockaddr</a> * </td>
|
||
|
<td class="paramname"><em>addr</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> * </td>
|
||
|
<td class="paramname"><em>addrlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gab81d992040a0b29b4f9fd20a263ab1d0"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int getsockopt </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>level</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>optname</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">void * </td>
|
||
|
<td class="paramname"><em>optval</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> * </td>
|
||
|
<td class="paramname"><em>optlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga5989c21d05cb17caba26cef496a7beea"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int listen </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>backlog</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga49c565342c0f29cec5461ec22c3b1b3d"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">ssize_t recv </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">void * </td>
|
||
|
<td class="paramname"><em>buf</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>len</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>flags</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gad144bb8d4119d5fa0ee5b6c4d06bc645"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">ssize_t recvfrom </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">void * </td>
|
||
|
<td class="paramname"><em>buf</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>len</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>flags</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">struct <a class="el" href="structsockaddr.html">sockaddr</a> * </td>
|
||
|
<td class="paramname"><em>src_addr</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> * </td>
|
||
|
<td class="paramname"><em>addrlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gabe712ada38e96543e13ee5ec42c0849f"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">ssize_t send </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const void * </td>
|
||
|
<td class="paramname"><em>buf</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>len</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>flags</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaa481d86e1f7cfb428547c552eee05511"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">ssize_t sendto </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const void * </td>
|
||
|
<td class="paramname"><em>buf</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">size_t </td>
|
||
|
<td class="paramname"><em>len</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>flags</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const struct <a class="el" href="structsockaddr.html">sockaddr</a> * </td>
|
||
|
<td class="paramname"><em>dest_addr</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> </td>
|
||
|
<td class="paramname"><em>addrlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaf188b4433461a4224c209231689e8270"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int setsockopt </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>level</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>optname</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const void * </td>
|
||
|
<td class="paramname"><em>optval</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"><a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> </td>
|
||
|
<td class="paramname"><em>optlen</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="ga402425b8e1ceab40ac38a949babcf1aa"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int shutdown </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>sockfd</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>how</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaf4e0711877c45a41168ac677b0670ccd"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int socket </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>domain</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>type</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>protocol</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gadd056a205aa6181762de87c1d8c9a210"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int select </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>nfds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">fd_set * </td>
|
||
|
<td class="paramname"><em>readfds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">fd_set * </td>
|
||
|
<td class="paramname"><em>writefds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">fd_set * </td>
|
||
|
<td class="paramname"><em>exceptfds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">struct timeval * </td>
|
||
|
<td class="paramname"><em>timeout</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.10
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|