mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 14:10:40 +01:00
267 lines
35 KiB
HTML
267 lines
35 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>wut: /home/ash/src/wut/include/nsysnet/socket.h 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="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>
|
|
<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">1.0.0-beta8</span>
|
|
</div>
|
|
<div id="projectbrief">Wii U Toolchain</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.15 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- 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 id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_fe1e7b2a13642686c85dbce98656961b.html">nsysnet</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<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.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <<a class="el" href="wut_8h_source.html">wut.h</a>></code><br />
|
|
<code>#include <stdint.h></code><br />
|
|
<code>#include <sys/time.h></code><br />
|
|
<code>#include <sys/types.h></code><br />
|
|
<code>#include <sys/select.h></code><br />
|
|
</div>
|
|
<p><a href="socket_8h_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>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:structsockaddr"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#structsockaddr">sockaddr</a></td></tr>
|
|
<tr class="separator:structsockaddr"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:structsockaddr__storage"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#structsockaddr__storage">sockaddr_storage</a></td></tr>
|
|
<tr class="separator:structsockaddr__storage"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:structlinger"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#structlinger">linger</a></td></tr>
|
|
<tr class="separator:structlinger"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:structin__addr"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#structin__addr">in_addr</a></td></tr>
|
|
<tr class="separator:structin__addr"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:structsockaddr__in"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#structsockaddr__in">sockaddr_in</a></td></tr>
|
|
<tr class="separator:structsockaddr__in"><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:a86c5dbf5a99358e288f573d6a1e0873f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="socket_8h.html#a86c5dbf5a99358e288f573d6a1e0873f">FD_SETSIZE</a>   32</td></tr>
|
|
<tr class="separator:a86c5dbf5a99358e288f573d6a1e0873f"><td class="memSeparator" colspan="2"> </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>   -1</td></tr>
|
|
<tr class="separator:ga92d045f6ee2f343d6b28830a9fec082e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5d1940045dc2e7de552f3d4ff13a74ab"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga5d1940045dc2e7de552f3d4ff13a74ab">INADDR_ANY</a>   0</td></tr>
|
|
<tr class="separator:ga5d1940045dc2e7de552f3d4ff13a74ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga4a725f61ded23ce8a7dff8e82ed51986"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga4a725f61ded23ce8a7dff8e82ed51986">INADDR_BROADCAST</a>   0xFFFFFFFF</td></tr>
|
|
<tr class="separator:ga4a725f61ded23ce8a7dff8e82ed51986"><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: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>   0x0004</td></tr>
|
|
<tr class="separator:ga9643e949e179396230792b56fe7f6f06"><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>   0x0020</td></tr>
|
|
<tr class="separator:gab18d3d439e4a9c8d0f73e7166e8eb376"><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:gabf96615d54d7d81630efc2e8f1770223"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gabf96615d54d7d81630efc2e8f1770223">IPPROTO_IP</a>   0</td></tr>
|
|
<tr class="separator:gabf96615d54d7d81630efc2e8f1770223"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga94f83c72c1e5e6ef453e47cf59885fb5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga94f83c72c1e5e6ef453e47cf59885fb5">IPPROTO_TCP</a>   6</td></tr>
|
|
<tr class="separator:ga94f83c72c1e5e6ef453e47cf59885fb5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gab332d40b15142f33a88d4fcb1d6a5920"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gab332d40b15142f33a88d4fcb1d6a5920">IPPROTO_UDP</a>   17</td></tr>
|
|
<tr class="separator:gab332d40b15142f33a88d4fcb1d6a5920"><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:gad05e5d66b4608d73747c4a10b802a737"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gad05e5d66b4608d73747c4a10b802a737">SO_BROADCAST</a>   0x0020</td></tr>
|
|
<tr class="separator:gad05e5d66b4608d73747c4a10b802a737"><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:ga326ce4e40002ecf1ccecf9ff26d71906"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga326ce4e40002ecf1ccecf9ff26d71906">SO_TCPSACK</a>   0x0200</td></tr>
|
|
<tr class="separator:ga326ce4e40002ecf1ccecf9ff26d71906"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga117a985137d5faf4f6c7d77e123b8813"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga117a985137d5faf4f6c7d77e123b8813">SO_WINSCALE</a>   0x0400</td></tr>
|
|
<tr class="separator:ga117a985137d5faf4f6c7d77e123b8813"><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>
|
|
<tr class="memitem:ga34c46dd3b7fbcd0ebd52d66fa03ee65c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga34c46dd3b7fbcd0ebd52d66fa03ee65c">SO_NBIO</a>   0x1014</td></tr>
|
|
<tr class="separator:ga34c46dd3b7fbcd0ebd52d66fa03ee65c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga6d88a2968a340f307c5842105ec35c84"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga6d88a2968a340f307c5842105ec35c84">SO_BIO</a>   0x1015</td></tr>
|
|
<tr class="separator:ga6d88a2968a340f307c5842105ec35c84"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac2ceb8d4369cba78fd8811283e7d5b48"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gac2ceb8d4369cba78fd8811283e7d5b48">SO_NONBLOCK</a>   0x1016</td></tr>
|
|
<tr class="separator:gac2ceb8d4369cba78fd8811283e7d5b48"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaffc55e6cf60dcee7205a2fcd877b49b3"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaffc55e6cf60dcee7205a2fcd877b49b3">NSN_EAGAIN</a>   6</td></tr>
|
|
<tr class="separator:gaffc55e6cf60dcee7205a2fcd877b49b3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga1a72f8656be880f5dbde7711f0ab9cda"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga1a72f8656be880f5dbde7711f0ab9cda">NSN_EWOULDBLOCK</a>   6</td></tr>
|
|
<tr class="separator:ga1a72f8656be880f5dbde7711f0ab9cda"><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:ga199f211423d21f413eabfffbacfd9493"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga199f211423d21f413eabfffbacfd9493">socket_lib_finish</a> ()</td></tr>
|
|
<tr class="separator:ga199f211423d21f413eabfffbacfd9493"><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="group__nsysnet__socket.html#structsockaddr">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="group__nsysnet__socket.html#structsockaddr">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:ga03a98fdcd6c919f9f9b9f0d49d3cc49b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga03a98fdcd6c919f9f9b9f0d49d3cc49b">socketclose</a> (int sockfd)</td></tr>
|
|
<tr class="separator:ga03a98fdcd6c919f9f9b9f0d49d3cc49b"><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="group__nsysnet__socket.html#structsockaddr">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="group__nsysnet__socket.html#structsockaddr">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="group__nsysnet__socket.html#structsockaddr">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:ga45206cc2181bcd7eddcc9e3b3b27b637"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga45206cc2181bcd7eddcc9e3b3b27b637">recv</a> (int sockfd, void *buf, size_t len, int flags)</td></tr>
|
|
<tr class="separator:ga45206cc2181bcd7eddcc9e3b3b27b637"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga9589bdf98da6cd301c6d3a2d4b4a5243"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga9589bdf98da6cd301c6d3a2d4b4a5243">recvfrom</a> (int sockfd, void *buf, size_t len, int flags, struct <a class="el" href="group__nsysnet__socket.html#structsockaddr">sockaddr</a> *src_addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> *addrlen)</td></tr>
|
|
<tr class="separator:ga9589bdf98da6cd301c6d3a2d4b4a5243"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gac4852a645ab3207179dd9f9a2f480b28"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gac4852a645ab3207179dd9f9a2f480b28">send</a> (int sockfd, const void *buf, size_t len, int flags)</td></tr>
|
|
<tr class="separator:gac4852a645ab3207179dd9f9a2f480b28"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gad37ee7b58324423eb6da7637d85dba29"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gad37ee7b58324423eb6da7637d85dba29">sendto</a> (int sockfd, const void *buf, size_t len, int flags, const struct <a class="el" href="group__nsysnet__socket.html#structsockaddr">sockaddr</a> *dest_addr, <a class="el" href="group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb">socklen_t</a> addrlen)</td></tr>
|
|
<tr class="separator:gad37ee7b58324423eb6da7637d85dba29"><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>
|
|
<tr class="memitem:ga0da303c73c2b8673a5a2fa875b8a19e8"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga0da303c73c2b8673a5a2fa875b8a19e8">inet_ntoa</a> (struct <a class="el" href="group__nsysnet__socket.html#structin__addr">in_addr</a> in)</td></tr>
|
|
<tr class="separator:ga0da303c73c2b8673a5a2fa875b8a19e8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga2e14cfa6ded77b65c948476358284cf1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga2e14cfa6ded77b65c948476358284cf1">inet_aton</a> (const char *cp, struct <a class="el" href="group__nsysnet__socket.html#structin__addr">in_addr</a> *inp)</td></tr>
|
|
<tr class="separator:ga2e14cfa6ded77b65c948476358284cf1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gabffaf13b8aaa3d58494997caa8a7e477"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gabffaf13b8aaa3d58494997caa8a7e477">socketlasterr</a> ()</td></tr>
|
|
<tr class="separator:gabffaf13b8aaa3d58494997caa8a7e477"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5c5e62361984ca888ac4b840cf059c6f"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga5c5e62361984ca888ac4b840cf059c6f">htonl</a> (uint32_t val)</td></tr>
|
|
<tr class="separator:ga5c5e62361984ca888ac4b840cf059c6f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ga5d6ce1e421c5ea25eb7aa4aa06b75534"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#ga5d6ce1e421c5ea25eb7aa4aa06b75534">htons</a> (uint16_t val)</td></tr>
|
|
<tr class="separator:ga5d6ce1e421c5ea25eb7aa4aa06b75534"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaa102b61428484589b89c98c7798ee65d"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaa102b61428484589b89c98c7798ee65d">ntohl</a> (uint32_t val)</td></tr>
|
|
<tr class="separator:gaa102b61428484589b89c98c7798ee65d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gaf792d74a36744bbc7307fd9a7dedd234"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__nsysnet__socket.html#gaf792d74a36744bbc7307fd9a7dedd234">ntohs</a> (uint16_t val)</td></tr>
|
|
<tr class="separator:gaf792d74a36744bbc7307fd9a7dedd234"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a id="a86c5dbf5a99358e288f573d6a1e0873f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a86c5dbf5a99358e288f573d6a1e0873f">◆ </a></span>FD_SETSIZE</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define FD_SETSIZE   32</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="socket_8h_source.html#l00005">5</a> of file <a class="el" href="socket_8h_source.html">socket.h</a>.</p>
|
|
|
|
</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.15
|
|
</small></address>
|
|
</body>
|
|
</html>
|