2019-04-22 10:21:17 +10:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2018-07-26 20:52:03 +10:00
< 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" / >
2020-03-26 16:49:18 +11:00
< meta name = "generator" content = "Doxygen 1.8.17" / >
2018-07-26 20:52:03 +10:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2020-03-26 16:49:18 +11:00
< title > wut: /home/ash/Code/wut2/include/nsysnet/socket.h Source File< / title >
2018-07-26 20:52:03 +10:00
< 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
2020-03-26 16:49:18 +11:00
  < span id = "projectnumber" > 1.0.0-beta9< / span >
2018-07-26 20:52:03 +10:00
< / div >
< div id = "projectbrief" > Wii U Toolchain< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2020-03-26 16:49:18 +11:00
<!-- Generated by Doxygen 1.8.17 -->
2018-07-26 20:52:03 +10:00
< 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 = "headertitle" >
< div class = "title" > socket.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2020-03-26 16:49:18 +11:00
< a href = "socket_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "preprocessor" > #pragma once< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "preprocessor" > #include < < a class = "code" href = "wut_8h.html" > wut.h< / a > > < / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "preprocessor" > #include < stdint.h> < / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > < a class = "line" href = "socket_8h.html#a86c5dbf5a99358e288f573d6a1e0873f" > 5< / a > < / span >   < span class = "preprocessor" > #define FD_SETSIZE 32< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < span class = "preprocessor" > #include < sys/time.h> < / span > < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "preprocessor" > #include < sys/types.h> < / span > < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "preprocessor" > #include < sys/select.h> < / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "keyword" > extern< / span > < span class = "stringliteral" > " C" < / span > {< / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga92d045f6ee2f343d6b28830a9fec082e" > 19< / a > < / span >   < span class = "preprocessor" > #define SOL_SOCKET -1< / span > < / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga5d1940045dc2e7de552f3d4ff13a74ab" > 21< / a > < / span >   < span class = "preprocessor" > #define INADDR_ANY 0< / span > < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga4a725f61ded23ce8a7dff8e82ed51986" > 22< / a > < / span >   < span class = "preprocessor" > #define INADDR_BROADCAST 0xFFFFFFFF< / span > < / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga51dba11ffc8e3b1bf695e721b3144094" > 24< / a > < / span >   < span class = "preprocessor" > #define PF_UNSPEC 0< / span > < / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga3f5da0b5be27fe31ec7cc11bfa8d1a25" > 25< / a > < / span >   < span class = "preprocessor" > #define PF_INET 2< / span > < / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga323f2649198fc7e64b19881869265618" > 26< / a > < / span >   < span class = "preprocessor" > #define PF_INET6 23< / span > < / div >
< div class = "line" > < a name = "l00027" > < / a > < span class = "lineno" > 27< / span >   < / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gae77ae24b14b7b7f294f3e04121173f12" > 28< / a > < / span >   < span class = "preprocessor" > #define AF_UNSPEC PF_UNSPEC< / span > < / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga9930604d0e32588eae76f43ca38e7826" > 29< / a > < / span >   < span class = "preprocessor" > #define AF_INET PF_INET< / span > < / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gaa03706b2738b9a58d4985dfbe99e1bac" > 30< / a > < / span >   < span class = "preprocessor" > #define AF_INET6 PF_INET6< / span > < / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga249394484f9410a2e3f8eba24657feb9" > 32< / a > < / span >   < span class = "preprocessor" > #define SOCK_STREAM 1< / span > < / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga4db8b9a846c67404db0b6f014f9a9fdf" > 33< / a > < / span >   < span class = "preprocessor" > #define SOCK_DGRAM 2< / span > < / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga99bc202592bac1adbd525f47b359b722" > 35< / a > < / span >   < span class = "preprocessor" > #define MSG_OOB 0x0001< / span > < / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga60c35b1016d0d87fe1066ea817acad98" > 36< / a > < / span >   < span class = "preprocessor" > #define MSG_PEEK 0x0002< / span > < / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga9643e949e179396230792b56fe7f6f06" > 37< / a > < / span >   < span class = "preprocessor" > #define MSG_DONTROUTE 0x0004< / span > < / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gab18d3d439e4a9c8d0f73e7166e8eb376" > 38< / a > < / span >   < span class = "preprocessor" > #define MSG_DONTWAIT 0x0020< / span > < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gaf1c8cf84ac37451afaef3bde9976b6e1" > 40< / a > < / span >   < span class = "preprocessor" > #define SHUT_RD 0< / span > < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gaddb0a758e6fafdd89f5b7120f84738eb" > 41< / a > < / span >   < span class = "preprocessor" > #define SHUT_WR 1< / span > < / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga80c54d1399557c97a0c81a319d08e9db" > 42< / a > < / span >   < span class = "preprocessor" > #define SHUT_RDWR 2< / span > < / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   < / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gabf96615d54d7d81630efc2e8f1770223" > 44< / a > < / span >   < span class = "preprocessor" > #define IPPROTO_IP 0< / span > < / div >
< div class = "line" > < a name = "l00045" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga94f83c72c1e5e6ef453e47cf59885fb5" > 45< / a > < / span >   < span class = "preprocessor" > #define IPPROTO_TCP 6< / span > < / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gab332d40b15142f33a88d4fcb1d6a5920" > 46< / a > < / span >   < span class = "preprocessor" > #define IPPROTO_UDP 17< / span > < / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   < / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   < span class = "comment" > /*< / span > < / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   < span class = "comment" > * SOL_SOCKET options< / span > < / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < span class = "comment" > */< / span > < / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga5589f74fada0d0cd47bd6ea8741a58ee" > 51< / a > < / span >   < span class = "preprocessor" > #define SO_REUSEADDR 0x0004 // reuse address< / span > < / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gad05e5d66b4608d73747c4a10b802a737" > 52< / a > < / span >   < span class = "preprocessor" > #define SO_BROADCAST 0x0020 // broadcast< / span > < / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga552d2cd8ffc1157c016299c5eba95b72" > 53< / a > < / span >   < span class = "preprocessor" > #define SO_LINGER 0x0080 // linger (no effect?)< / span > < / div >
< div class = "line" > < a name = "l00054" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga1ab39f351679dd0e32436f0e6c9890d4" > 54< / a > < / span >   < span class = "preprocessor" > #define SO_OOBINLINE 0x0100 // out-of-band data inline (no effect?)< / span > < / div >
< div class = "line" > < a name = "l00055" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga326ce4e40002ecf1ccecf9ff26d71906" > 55< / a > < / span >   < span class = "preprocessor" > #define SO_TCPSACK 0x0200 // set tcp selective acknowledgment< / span > < / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga117a985137d5faf4f6c7d77e123b8813" > 56< / a > < / span >   < span class = "preprocessor" > #define SO_WINSCALE 0x0400 // set tcp window scaling< / span > < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gaf618cbb85161ff3196d3bcdf7565ba64" > 57< / a > < / span >   < span class = "preprocessor" > #define SO_SNDBUF 0x1001 // send buffer size< / span > < / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga0db12e960ac303030400d9fd95391b52" > 58< / a > < / span >   < span class = "preprocessor" > #define SO_RCVBUF 0x1002 // receive buffer size< / span > < / div >
< div class = "line" > < a name = "l00059" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga5b4707f0d55cfacf9cd25e5554975c8f" > 59< / a > < / span >   < span class = "preprocessor" > #define SO_SNDLOWAT 0x1003 // send low-water mark (no effect?)< / span > < / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gac750f0f8266f391654627fe3068f79c8" > 60< / a > < / span >   < span class = "preprocessor" > #define SO_RCVLOWAT 0x1004 // receive low-water mark< / span > < / div >
< div class = "line" > < a name = "l00061" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga8ab1e00e94a92737d3a4b407f7fa90f1" > 61< / a > < / span >   < span class = "preprocessor" > #define SO_TYPE 0x1008 // get socket type< / span > < / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga040d4fd00495232970a03425bc00e77a" > 62< / a > < / span >   < span class = "preprocessor" > #define SO_ERROR 0x1009 // get socket error< / span > < / div >
< div class = "line" > < a name = "l00063" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga34c46dd3b7fbcd0ebd52d66fa03ee65c" > 63< / a > < / span >   < span class = "preprocessor" > #define SO_NBIO 0x1014 // set socket to NON-blocking mode< / span > < / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga6d88a2968a340f307c5842105ec35c84" > 64< / a > < / span >   < span class = "preprocessor" > #define SO_BIO 0x1015 // set socket to blocking mode< / span > < / div >
< div class = "line" > < a name = "l00065" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gac2ceb8d4369cba78fd8811283e7d5b48" > 65< / a > < / span >   < span class = "preprocessor" > #define SO_NONBLOCK 0x1016 // set/get blocking mode via optval param< / span > < / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   < span class = "comment" > /*< / span > < / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   < span class = "comment" > * Errors returned by nsysnet socket functions< / span > < / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < span class = "comment" > * WARNING: these do not match with sys/errno.h (where EAGAIN is 11 for example).< / span > < / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   < span class = "comment" > */< / span > < / div >
< div class = "line" > < a name = "l00071" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#gaffc55e6cf60dcee7205a2fcd877b49b3" > 71< / a > < / span >   < span class = "preprocessor" > #define NSN_EAGAIN 6< / span > < / div >
< div class = "line" > < a name = "l00072" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga1a72f8656be880f5dbde7711f0ab9cda" > 72< / a > < / span >   < span class = "preprocessor" > #define NSN_EWOULDBLOCK 6< / span > < / div >
< div class = "line" > < a name = "l00073" > < / a > < span class = "lineno" > 73< / span >   < / div >
< div class = "line" > < a name = "l00074" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > 74< / a > < / span >   < span class = "keyword" > typedef< / span > uint32_t < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > ;< / div >
< div class = "line" > < a name = "l00075" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ga22bf2db06ebc5466014e637d419cef90" > 75< / a > < / span >   < span class = "keyword" > typedef< / span > uint16_t < a class = "code" href = "group__nsysnet__socket.html#ga22bf2db06ebc5466014e637d419cef90" > sa_family_t< / a > ;< / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > 76< / span >   < / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html" > 77< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > < / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   {< / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#a36eaef69fff1193837626c2833ab507a" > 79< / a > < / span >   < a class = "code" href = "group__nsysnet__socket.html#ga22bf2db06ebc5466014e637d419cef90" > sa_family_t< / a > < a class = "code" href = "group__nsysnet__socket.html#a36eaef69fff1193837626c2833ab507a" > sa_family< / a > ;< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ab92ef26b74c80139475481ea0deb21a8" > 80< / a > < / span >   < span class = "keywordtype" > char< / span > < a class = "code" href = "group__nsysnet__socket.html#ab92ef26b74c80139475481ea0deb21a8" > sa_data< / a > [];< / div >
< div class = "line" > < a name = "l00081" > < / a > < span class = "lineno" > 81< / span >   };< / div >
< div class = "line" > < a name = "l00082" > < / a > < span class = "lineno" > 82< / span >   < / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html" > 83< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr__storage" > sockaddr_storage< / a > < / div >
< div class = "line" > < a name = "l00084" > < / a > < span class = "lineno" > 84< / span >   {< / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ae3ea34576030e8c0674c47de5bcaf9d5" > 85< / a > < / span >   < a class = "code" href = "group__nsysnet__socket.html#ga22bf2db06ebc5466014e637d419cef90" > sa_family_t< / a > < a class = "code" href = "group__nsysnet__socket.html#ae3ea34576030e8c0674c47de5bcaf9d5" > ss_family< / a > ;< / div >
< div class = "line" > < a name = "l00086" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#a159e08bced3dd9355a196455be4d902d" > 86< / a > < / span >   < span class = "keywordtype" > char< / span > < a class = "code" href = "group__nsysnet__socket.html#a159e08bced3dd9355a196455be4d902d" > ss_padding< / a > [14];< / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > 87< / span >   };< / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   < / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html" > 89< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__nsysnet__socket.html#structlinger" > linger< / a > < / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   {< / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#a53f550a39f9923b9dbc6a67adc423cc0" > 91< / a > < / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "group__nsysnet__socket.html#a53f550a39f9923b9dbc6a67adc423cc0" > l_onoff< / a > ;< / div >
< div class = "line" > < a name = "l00092" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#a86a5f304dfcd62d626f27bbd3796683d" > 92< / a > < / span >   < span class = "keywordtype" > int< / span > < a class = "code" href = "group__nsysnet__socket.html#a86a5f304dfcd62d626f27bbd3796683d" > l_linger< / a > ;< / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > 93< / span >   };< / div >
< div class = "line" > < a name = "l00094" > < / a > < span class = "lineno" > 94< / span >   < / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html" > 95< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__nsysnet__socket.html#structin__addr" > in_addr< / a > < / div >
< div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   {< / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ab9db80bdd56057358ee6b04f9448a5ee" > 97< / a > < / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > < a class = "code" href = "group__nsysnet__socket.html#ab9db80bdd56057358ee6b04f9448a5ee" > s_addr< / a > ;< / div >
< div class = "line" > < a name = "l00098" > < / a > < span class = "lineno" > 98< / span >   };< / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html" > 100< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr__in" > sockaddr_in< / a > < / div >
< div class = "line" > < a name = "l00101" > < / a > < span class = "lineno" > 101< / span >   {< / div >
< div class = "line" > < a name = "l00102" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#ab94314390938f112761a80e5fd1582fc" > 102< / a > < / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > short< / span > < a class = "code" href = "group__nsysnet__socket.html#ab94314390938f112761a80e5fd1582fc" > sin_family< / a > ;< / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#a0eae6616c263e76ee1c4a13dfbcd42a5" > 103< / a > < / span >   < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > short< / span > < a class = "code" href = "group__nsysnet__socket.html#a0eae6616c263e76ee1c4a13dfbcd42a5" > sin_port< / a > ;< / div >
< div class = "line" > < a name = "l00104" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#a1c7bfbfe59dbefd9344f98157b26ccdc" > 104< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "group__nsysnet__socket.html#structin__addr" > in_addr< / a > < a class = "code" href = "group__nsysnet__socket.html#a1c7bfbfe59dbefd9344f98157b26ccdc" > sin_addr< / a > ;< / div >
< div class = "line" > < a name = "l00105" > < / a > < span class = "lineno" > < a class = "line" href = "group__nsysnet__socket.html#a019cb683bfdac71a46a437c71a792c99" > 105< / a > < / span >   < span class = "keywordtype" > char< / span > < a class = "code" href = "group__nsysnet__socket.html#a019cb683bfdac71a46a437c71a792c99" > sin_zero< / a > [8];< / div >
< div class = "line" > < a name = "l00106" > < / a > < span class = "lineno" > 106< / span >   };< / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > 107< / span >   < / div >
< div class = "line" > < a name = "l00108" > < / a > < span class = "lineno" > 108< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < a class = "code" href = "group__nsysnet__socket.html#gaa6779bbd3ee86fec7811f4ab4b916954" > socket_lib_init< / a > ();< / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > 110< / span >   < / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga199f211423d21f413eabfffbacfd9493" > socket_lib_finish< / a > ();< / div >
< div class = "line" > < a name = "l00113" > < / a > < span class = "lineno" > 113< / span >   < / div >
< div class = "line" > < a name = "l00114" > < / a > < span class = "lineno" > 114< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00115" > < / a > < span class = "lineno" > 115< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga7937a1ce0c865387d092f8440f7ef5bd" > accept< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00116" > < / a > < span class = "lineno" > 116< / span >   < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > *addr,< / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > 117< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > *addrlen);< / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   < / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00120" > < / a > < span class = "lineno" > 120< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga82199bcd81894331533a25f08e172480" > bind< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > 121< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > *addr,< / div >
< div class = "line" > < a name = "l00122" > < / a > < span class = "lineno" > 122< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > addrlen);< / div >
< div class = "line" > < a name = "l00123" > < / a > < span class = "lineno" > 123< / span >   < / div >
< div class = "line" > < a name = "l00124" > < / a > < span class = "lineno" > 124< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > 125< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga03a98fdcd6c919f9f9b9f0d49d3cc49b" > socketclose< / a > (< span class = "keywordtype" > int< / span > sockfd);< / div >
< div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < / div >
< div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > 127< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   < a class = "code" href = "group__nsysnet__socket.html#gacdfd99b6c59c833776412fbb0c539efb" > connect< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > *addr,< / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > addrlen);< / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   < / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00133" > < / a > < span class = "lineno" > 133< / span >   < a class = "code" href = "group__nsysnet__socket.html#gad56bbd2dab72a7d4062e62bd0b129435" > getpeername< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > 134< / span >   < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > *addr,< / div >
< div class = "line" > < a name = "l00135" > < / a > < span class = "lineno" > 135< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > *addrlen);< / div >
< div class = "line" > < a name = "l00136" > < / a > < span class = "lineno" > 136< / span >   < / div >
< div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00138" > < / a > < span class = "lineno" > 138< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga7895af1011e7b9ff128eda29e773a84e" > getsockname< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00139" > < / a > < span class = "lineno" > 139< / span >   < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > *addr,< / div >
< div class = "line" > < a name = "l00140" > < / a > < span class = "lineno" > 140< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > *addrlen);< / div >
< div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > 141< / span >   < / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00143" > < / a > < span class = "lineno" > 143< / span >   < a class = "code" href = "group__nsysnet__socket.html#gab81d992040a0b29b4f9fd20a263ab1d0" > getsockopt< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < span class = "keywordtype" > int< / span > level,< / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   < span class = "keywordtype" > int< / span > optname,< / div >
< div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   < span class = "keywordtype" > void< / span > *optval,< / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > *optlen);< / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   < / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga5989c21d05cb17caba26cef496a7beea" > listen< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   < span class = "keywordtype" > int< / span > backlog);< / div >
< div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   < / div >
< div class = "line" > < a name = "l00153" > < / a > < span class = "lineno" > 153< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00154" > < / a > < span class = "lineno" > 154< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga45206cc2181bcd7eddcc9e3b3b27b637" > recv< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00155" > < / a > < span class = "lineno" > 155< / span >   < span class = "keywordtype" > void< / span > *buf,< / div >
< div class = "line" > < a name = "l00156" > < / a > < span class = "lineno" > 156< / span >   < span class = "keywordtype" > size_t< / span > len,< / div >
< div class = "line" > < a name = "l00157" > < / a > < span class = "lineno" > 157< / span >   < span class = "keywordtype" > int< / span > flags);< / div >
< div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > 158< / span >   < / div >
< div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > 160< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga9589bdf98da6cd301c6d3a2d4b4a5243" > recvfrom< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   < span class = "keywordtype" > void< / span > *buf,< / div >
< div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / span >   < span class = "keywordtype" > size_t< / span > len,< / div >
< div class = "line" > < a name = "l00163" > < / a > < span class = "lineno" > 163< / span >   < span class = "keywordtype" > int< / span > flags,< / div >
< div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > 164< / span >   < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > *src_addr,< / div >
< div class = "line" > < a name = "l00165" > < / a > < span class = "lineno" > 165< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > *addrlen);< / div >
< div class = "line" > < a name = "l00166" > < / a > < span class = "lineno" > 166< / span >   < / div >
< div class = "line" > < a name = "l00167" > < / a > < span class = "lineno" > 167< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00168" > < / a > < span class = "lineno" > 168< / span >   < a class = "code" href = "group__nsysnet__socket.html#gac4852a645ab3207179dd9f9a2f480b28" > send< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00169" > < / a > < span class = "lineno" > 169< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > void< / span > *buf,< / div >
< div class = "line" > < a name = "l00170" > < / a > < span class = "lineno" > 170< / span >   < span class = "keywordtype" > size_t< / span > len,< / div >
< div class = "line" > < a name = "l00171" > < / a > < span class = "lineno" > 171< / span >   < span class = "keywordtype" > int< / span > flags);< / div >
< div class = "line" > < a name = "l00172" > < / a > < span class = "lineno" > 172< / span >   < / div >
< div class = "line" > < a name = "l00173" > < / a > < span class = "lineno" > 173< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00174" > < / a > < span class = "lineno" > 174< / span >   < a class = "code" href = "group__nsysnet__socket.html#gad37ee7b58324423eb6da7637d85dba29" > sendto< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00175" > < / a > < span class = "lineno" > 175< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > void< / span > *buf,< / div >
< div class = "line" > < a name = "l00176" > < / a > < span class = "lineno" > 176< / span >   < span class = "keywordtype" > size_t< / span > len,< / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > 177< / span >   < span class = "keywordtype" > int< / span > flags,< / div >
< div class = "line" > < a name = "l00178" > < / a > < span class = "lineno" > 178< / span >   < span class = "keyword" > const< / span > < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > *dest_addr,< / div >
< div class = "line" > < a name = "l00179" > < / a > < span class = "lineno" > 179< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > addrlen);< / div >
< div class = "line" > < a name = "l00180" > < / a > < span class = "lineno" > 180< / span >   < / div >
< div class = "line" > < a name = "l00181" > < / a > < span class = "lineno" > 181< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00182" > < / a > < span class = "lineno" > 182< / span >   < a class = "code" href = "group__nsysnet__socket.html#gaf188b4433461a4224c209231689e8270" > setsockopt< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00183" > < / a > < span class = "lineno" > 183< / span >   < span class = "keywordtype" > int< / span > level,< / div >
< div class = "line" > < a name = "l00184" > < / a > < span class = "lineno" > 184< / span >   < span class = "keywordtype" > int< / span > optname,< / div >
< div class = "line" > < a name = "l00185" > < / a > < span class = "lineno" > 185< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > void< / span > *optval,< / div >
< div class = "line" > < a name = "l00186" > < / a > < span class = "lineno" > 186< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > optlen);< / div >
< div class = "line" > < a name = "l00187" > < / a > < span class = "lineno" > 187< / span >   < / div >
< div class = "line" > < a name = "l00188" > < / a > < span class = "lineno" > 188< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00189" > < / a > < span class = "lineno" > 189< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga402425b8e1ceab40ac38a949babcf1aa" > shutdown< / a > (< span class = "keywordtype" > int< / span > sockfd,< / div >
< div class = "line" > < a name = "l00190" > < / a > < span class = "lineno" > 190< / span >   < span class = "keywordtype" > int< / span > how);< / div >
< div class = "line" > < a name = "l00191" > < / a > < span class = "lineno" > 191< / span >   < / div >
< div class = "line" > < a name = "l00192" > < / a > < span class = "lineno" > 192< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00193" > < / a > < span class = "lineno" > 193< / span >   < a class = "code" href = "group__nsysnet__socket.html#gaf4e0711877c45a41168ac677b0670ccd" > socket< / a > (< span class = "keywordtype" > int< / span > domain,< / div >
< div class = "line" > < a name = "l00194" > < / a > < span class = "lineno" > 194< / span >   < span class = "keywordtype" > int< / span > type,< / div >
< div class = "line" > < a name = "l00195" > < / a > < span class = "lineno" > 195< / span >   < span class = "keywordtype" > int< / span > protocol);< / div >
< div class = "line" > < a name = "l00196" > < / a > < span class = "lineno" > 196< / span >   < / div >
< div class = "line" > < a name = "l00197" > < / a > < span class = "lineno" > 197< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00198" > < / a > < span class = "lineno" > 198< / span >   < a class = "code" href = "group__nsysnet__socket.html#gadd056a205aa6181762de87c1d8c9a210" > select< / a > (< span class = "keywordtype" > int< / span > nfds,< / div >
< div class = "line" > < a name = "l00199" > < / a > < span class = "lineno" > 199< / span >   fd_set *readfds,< / div >
< div class = "line" > < a name = "l00200" > < / a > < span class = "lineno" > 200< / span >   fd_set *writefds,< / div >
< div class = "line" > < a name = "l00201" > < / a > < span class = "lineno" > 201< / span >   fd_set *exceptfds,< / div >
< div class = "line" > < a name = "l00202" > < / a > < span class = "lineno" > 202< / span >   < span class = "keyword" > struct< / span > timeval *timeout);< / div >
< div class = "line" > < a name = "l00203" > < / a > < span class = "lineno" > 203< / span >   < / div >
< div class = "line" > < a name = "l00204" > < / a > < span class = "lineno" > 204< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *< / div >
< div class = "line" > < a name = "l00205" > < / a > < span class = "lineno" > 205< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga0da303c73c2b8673a5a2fa875b8a19e8" > inet_ntoa< / a > (< span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structin__addr" > in_addr< / a > in);< / div >
< div class = "line" > < a name = "l00206" > < / a > < span class = "lineno" > 206< / span >   < / div >
< div class = "line" > < a name = "l00207" > < / a > < span class = "lineno" > 207< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00208" > < / a > < span class = "lineno" > 208< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga2e14cfa6ded77b65c948476358284cf1" > inet_aton< / a > (< span class = "keyword" > const< / span > < span class = "keywordtype" > char< / span > *cp, < span class = "keyword" > struct< / span > < a class = "code" href = "group__nsysnet__socket.html#structin__addr" > in_addr< / a > *inp);< / div >
< div class = "line" > < a name = "l00209" > < / a > < span class = "lineno" > 209< / span >   < / div >
< div class = "line" > < a name = "l00210" > < / a > < span class = "lineno" > 210< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00211" > < / a > < span class = "lineno" > 211< / span >   < a class = "code" href = "group__nsysnet__socket.html#gabffaf13b8aaa3d58494997caa8a7e477" > socketlasterr< / a > ();< / div >
< div class = "line" > < a name = "l00212" > < / a > < span class = "lineno" > 212< / span >   < / div >
< div class = "line" > < a name = "l00213" > < / a > < span class = "lineno" > 213< / span >   uint32_t< / div >
< div class = "line" > < a name = "l00214" > < / a > < span class = "lineno" > 214< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga5c5e62361984ca888ac4b840cf059c6f" > htonl< / a > (uint32_t val);< / div >
< div class = "line" > < a name = "l00215" > < / a > < span class = "lineno" > 215< / span >   < / div >
< div class = "line" > < a name = "l00216" > < / a > < span class = "lineno" > 216< / span >   uint16_t< / div >
< div class = "line" > < a name = "l00217" > < / a > < span class = "lineno" > 217< / span >   < a class = "code" href = "group__nsysnet__socket.html#ga5d6ce1e421c5ea25eb7aa4aa06b75534" > htons< / a > (uint16_t val);< / div >
< div class = "line" > < a name = "l00218" > < / a > < span class = "lineno" > 218< / span >   < / div >
< div class = "line" > < a name = "l00219" > < / a > < span class = "lineno" > 219< / span >   uint32_t< / div >
< div class = "line" > < a name = "l00220" > < / a > < span class = "lineno" > 220< / span >   < a class = "code" href = "group__nsysnet__socket.html#gaa102b61428484589b89c98c7798ee65d" > ntohl< / a > (uint32_t val);< / div >
< div class = "line" > < a name = "l00221" > < / a > < span class = "lineno" > 221< / span >   < / div >
< div class = "line" > < a name = "l00222" > < / a > < span class = "lineno" > 222< / span >   uint16_t< / div >
< div class = "line" > < a name = "l00223" > < / a > < span class = "lineno" > 223< / span >   < a class = "code" href = "group__nsysnet__socket.html#gaf792d74a36744bbc7307fd9a7dedd234" > ntohs< / a > (uint16_t val);< / div >
< div class = "line" > < a name = "l00224" > < / a > < span class = "lineno" > 224< / span >   < / div >
< div class = "line" > < a name = "l00225" > < / a > < span class = "lineno" > 225< / span >   < span class = "preprocessor" > #ifdef __cplusplus< / span > < / div >
< div class = "line" > < a name = "l00226" > < / a > < span class = "lineno" > 226< / span >   }< / div >
< div class = "line" > < a name = "l00227" > < / a > < span class = "lineno" > 227< / span >   < span class = "preprocessor" > #endif< / span > < / div >
< div class = "line" > < a name = "l00228" > < / a > < span class = "lineno" > 228< / span >   < / div >
2018-07-26 20:52:03 +10:00
< / div > <!-- fragment --> < / div > <!-- contents -->
2020-03-26 16:49:18 +11:00
< div class = "ttc" id = "agroup__nsysnet__socket_html_structsockaddr__storage" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#structsockaddr__storage" > sockaddr_storage< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00083" > socket.h:83< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_structlinger" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#structlinger" > linger< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00089" > socket.h:89< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga22bf2db06ebc5466014e637d419cef90" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga22bf2db06ebc5466014e637d419cef90" > sa_family_t< / a > < / div > < div class = "ttdeci" > uint16_t sa_family_t< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00075" > socket.h:75< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_structsockaddr__in" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#structsockaddr__in" > sockaddr_in< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00100" > socket.h:100< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_structsockaddr" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#structsockaddr" > sockaddr< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00077" > socket.h:77< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga9589bdf98da6cd301c6d3a2d4b4a5243" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga9589bdf98da6cd301c6d3a2d4b4a5243" > recvfrom< / a > < / div > < div class = "ttdeci" > int recvfrom(int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_a53f550a39f9923b9dbc6a67adc423cc0" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#a53f550a39f9923b9dbc6a67adc423cc0" > linger::l_onoff< / a > < / div > < div class = "ttdeci" > int l_onoff< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00091" > socket.h:91< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_a019cb683bfdac71a46a437c71a792c99" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#a019cb683bfdac71a46a437c71a792c99" > sockaddr_in::sin_zero< / a > < / div > < div class = "ttdeci" > char sin_zero[8]< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00105" > socket.h:105< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga03a98fdcd6c919f9f9b9f0d49d3cc49b" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga03a98fdcd6c919f9f9b9f0d49d3cc49b" > socketclose< / a > < / div > < div class = "ttdeci" > int socketclose(int sockfd)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_a86a5f304dfcd62d626f27bbd3796683d" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#a86a5f304dfcd62d626f27bbd3796683d" > linger::l_linger< / a > < / div > < div class = "ttdeci" > int l_linger< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00092" > socket.h:92< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_a36eaef69fff1193837626c2833ab507a" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#a36eaef69fff1193837626c2833ab507a" > sockaddr::sa_family< / a > < / div > < div class = "ttdeci" > sa_family_t sa_family< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00079" > socket.h:79< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga402425b8e1ceab40ac38a949babcf1aa" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga402425b8e1ceab40ac38a949babcf1aa" > shutdown< / a > < / div > < div class = "ttdeci" > int shutdown(int sockfd, int how)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga7895af1011e7b9ff128eda29e773a84e" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga7895af1011e7b9ff128eda29e773a84e" > getsockname< / a > < / div > < div class = "ttdeci" > int getsockname(int sockfd, struct sockaddr *addr, socklen_t *addrlen)< / div > < / div >
< div class = "ttc" id = "awut_8h_html" > < div class = "ttname" > < a href = "wut_8h.html" > wut.h< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ab92ef26b74c80139475481ea0deb21a8" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ab92ef26b74c80139475481ea0deb21a8" > sockaddr::sa_data< / a > < / div > < div class = "ttdeci" > char sa_data[]< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00080" > socket.h:80< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gac4852a645ab3207179dd9f9a2f480b28" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gac4852a645ab3207179dd9f9a2f480b28" > send< / a > < / div > < div class = "ttdeci" > int send(int sockfd, const void *buf, size_t len, int flags)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ab94314390938f112761a80e5fd1582fc" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ab94314390938f112761a80e5fd1582fc" > sockaddr_in::sin_family< / a > < / div > < div class = "ttdeci" > unsigned short sin_family< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00102" > socket.h:102< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gadd056a205aa6181762de87c1d8c9a210" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gadd056a205aa6181762de87c1d8c9a210" > select< / a > < / div > < div class = "ttdeci" > int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga3f5f480bed01f54df564b99350f1d1bb" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga3f5f480bed01f54df564b99350f1d1bb" > socklen_t< / a > < / div > < div class = "ttdeci" > uint32_t socklen_t< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00074" > socket.h:74< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_a159e08bced3dd9355a196455be4d902d" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#a159e08bced3dd9355a196455be4d902d" > sockaddr_storage::ss_padding< / a > < / div > < div class = "ttdeci" > char ss_padding[14]< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00086" > socket.h:86< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga0da303c73c2b8673a5a2fa875b8a19e8" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga0da303c73c2b8673a5a2fa875b8a19e8" > inet_ntoa< / a > < / div > < div class = "ttdeci" > const char * inet_ntoa(struct in_addr in)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga7937a1ce0c865387d092f8440f7ef5bd" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga7937a1ce0c865387d092f8440f7ef5bd" > accept< / a > < / div > < div class = "ttdeci" > int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gacdfd99b6c59c833776412fbb0c539efb" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gacdfd99b6c59c833776412fbb0c539efb" > connect< / a > < / div > < div class = "ttdeci" > int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gaf188b4433461a4224c209231689e8270" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gaf188b4433461a4224c209231689e8270" > setsockopt< / a > < / div > < div class = "ttdeci" > int setsockopt(int sockfd, int level, int optname, const void *optval, socklen_t optlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gad56bbd2dab72a7d4062e62bd0b129435" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gad56bbd2dab72a7d4062e62bd0b129435" > getpeername< / a > < / div > < div class = "ttdeci" > int getpeername(int sockfd, struct sockaddr *addr, socklen_t *addrlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ab9db80bdd56057358ee6b04f9448a5ee" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ab9db80bdd56057358ee6b04f9448a5ee" > in_addr::s_addr< / a > < / div > < div class = "ttdeci" > unsigned int s_addr< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00097" > socket.h:97< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gabffaf13b8aaa3d58494997caa8a7e477" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gabffaf13b8aaa3d58494997caa8a7e477" > socketlasterr< / a > < / div > < div class = "ttdeci" > int socketlasterr()< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga5989c21d05cb17caba26cef496a7beea" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga5989c21d05cb17caba26cef496a7beea" > listen< / a > < / div > < div class = "ttdeci" > int listen(int sockfd, int backlog)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gaa6779bbd3ee86fec7811f4ab4b916954" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gaa6779bbd3ee86fec7811f4ab4b916954" > socket_lib_init< / a > < / div > < div class = "ttdeci" > void socket_lib_init()< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga2e14cfa6ded77b65c948476358284cf1" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga2e14cfa6ded77b65c948476358284cf1" > inet_aton< / a > < / div > < div class = "ttdeci" > int inet_aton(const char *cp, struct in_addr *inp)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga199f211423d21f413eabfffbacfd9493" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga199f211423d21f413eabfffbacfd9493" > socket_lib_finish< / a > < / div > < div class = "ttdeci" > void socket_lib_finish()< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_a1c7bfbfe59dbefd9344f98157b26ccdc" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#a1c7bfbfe59dbefd9344f98157b26ccdc" > sockaddr_in::sin_addr< / a > < / div > < div class = "ttdeci" > struct in_addr sin_addr< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00104" > socket.h:104< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gaf792d74a36744bbc7307fd9a7dedd234" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gaf792d74a36744bbc7307fd9a7dedd234" > ntohs< / a > < / div > < div class = "ttdeci" > uint16_t ntohs(uint16_t val)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gab81d992040a0b29b4f9fd20a263ab1d0" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gab81d992040a0b29b4f9fd20a263ab1d0" > getsockopt< / a > < / div > < div class = "ttdeci" > int getsockopt(int sockfd, int level, int optname, void *optval, socklen_t *optlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ae3ea34576030e8c0674c47de5bcaf9d5" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ae3ea34576030e8c0674c47de5bcaf9d5" > sockaddr_storage::ss_family< / a > < / div > < div class = "ttdeci" > sa_family_t ss_family< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00085" > socket.h:85< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gaf4e0711877c45a41168ac677b0670ccd" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gaf4e0711877c45a41168ac677b0670ccd" > socket< / a > < / div > < div class = "ttdeci" > int socket(int domain, int type, int protocol)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga5c5e62361984ca888ac4b840cf059c6f" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga5c5e62361984ca888ac4b840cf059c6f" > htonl< / a > < / div > < div class = "ttdeci" > uint32_t htonl(uint32_t val)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_a0eae6616c263e76ee1c4a13dfbcd42a5" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#a0eae6616c263e76ee1c4a13dfbcd42a5" > sockaddr_in::sin_port< / a > < / div > < div class = "ttdeci" > unsigned short sin_port< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00103" > socket.h:103< / a > < / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga82199bcd81894331533a25f08e172480" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga82199bcd81894331533a25f08e172480" > bind< / a > < / div > < div class = "ttdeci" > int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gaa102b61428484589b89c98c7798ee65d" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gaa102b61428484589b89c98c7798ee65d" > ntohl< / a > < / div > < div class = "ttdeci" > uint32_t ntohl(uint32_t val)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga5d6ce1e421c5ea25eb7aa4aa06b75534" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga5d6ce1e421c5ea25eb7aa4aa06b75534" > htons< / a > < / div > < div class = "ttdeci" > uint16_t htons(uint16_t val)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_ga45206cc2181bcd7eddcc9e3b3b27b637" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#ga45206cc2181bcd7eddcc9e3b3b27b637" > recv< / a > < / div > < div class = "ttdeci" > int recv(int sockfd, void *buf, size_t len, int flags)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_gad37ee7b58324423eb6da7637d85dba29" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#gad37ee7b58324423eb6da7637d85dba29" > sendto< / a > < / div > < div class = "ttdeci" > int sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen)< / div > < / div >
< div class = "ttc" id = "agroup__nsysnet__socket_html_structin__addr" > < div class = "ttname" > < a href = "group__nsysnet__socket.html#structin__addr" > in_addr< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "socket_8h_source.html#l00095" > socket.h:95< / a > < / div > < / div >
2018-07-26 20:52:03 +10:00
<!-- 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" / >
2020-03-26 16:49:18 +11:00
< / a > 1.8.17
2018-07-26 20:52:03 +10:00
< / small > < / address >
< / body >
< / html >