http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/stout_2include_2stout_2os_2posix_2socket_8hpp_source.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/stout_2include_2stout_2os_2posix_2socket_8hpp_source.html
 
b/content/api/latest/c++/stout_2include_2stout_2os_2posix_2socket_8hpp_source.html
index 8aeb093..a93f88a 100644
--- 
a/content/api/latest/c++/stout_2include_2stout_2os_2posix_2socket_8hpp_source.html
+++ 
b/content/api/latest/c++/stout_2include_2stout_2os_2posix_2socket_8hpp_source.html
@@ -82,54 +82,83 @@
 <div class="line"><a name="l00028"></a><span class="lineno">   
28</span>&#160;<a class="code" 
href="namespacenet.html#a5b5c23ac2d0fa4ccaedff024f2d9a32c">using 
::recv</a>;</div>
 <div class="line"><a name="l00029"></a><span class="lineno">   
29</span>&#160;<a class="code" 
href="namespacenet.html#a69f77aa4677f1dd1c69169589b30a31b">using 
::send</a>;</div>
 <div class="line"><a name="l00030"></a><span class="lineno">   
30</span>&#160;</div>
-<div class="line"><a name="l00031"></a><span class="lineno">   
31</span>&#160;<span class="comment">// The error indicates the last socket 
operation has been</span></div>
-<div class="line"><a name="l00032"></a><span class="lineno">   
32</span>&#160;<span class="comment">// interupted, the operation can be 
restarted immediately.</span></div>
-<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a190d273d305decda6696ed04b3adbd59">   
33</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a190d273d305decda6696ed04b3adbd59">is_restartable_error</a>(<span
 class="keywordtype">int</span> <a class="code" 
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a>)</div>
-<div class="line"><a name="l00034"></a><span class="lineno">   
34</span>&#160;{</div>
-<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; 
 <span class="keywordflow">return</span> (error == EINTR);</div>
-<div class="line"><a name="l00036"></a><span class="lineno">   
36</span>&#160;}</div>
-<div class="line"><a name="l00037"></a><span class="lineno">   
37</span>&#160;</div>
-<div class="line"><a name="l00038"></a><span class="lineno">   
38</span>&#160;</div>
-<div class="line"><a name="l00039"></a><span class="lineno">   
39</span>&#160;<span class="comment">// The error indicates the last socket 
function on a non-blocking socket</span></div>
-<div class="line"><a name="l00040"></a><span class="lineno">   
40</span>&#160;<span class="comment">// cannot be completed. This is a 
temporary condition and the caller can</span></div>
-<div class="line"><a name="l00041"></a><span class="lineno">   
41</span>&#160;<span class="comment">// retry the operation later.</span></div>
-<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a750f9463500ec714c5d5db550340a772">   
42</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a750f9463500ec714c5d5db550340a772">is_retryable_error</a>(<span
 class="keywordtype">int</span> <a class="code" 
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a>)</div>
-<div class="line"><a name="l00043"></a><span class="lineno">   
43</span>&#160;{</div>
-<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; 
 <span class="keywordflow">return</span> (error == EWOULDBLOCK || error == 
EAGAIN);</div>
-<div class="line"><a name="l00045"></a><span class="lineno">   
45</span>&#160;}</div>
-<div class="line"><a name="l00046"></a><span class="lineno">   
46</span>&#160;</div>
-<div class="line"><a name="l00047"></a><span class="lineno">   
47</span>&#160;</div>
-<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">   
48</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">is_inprogress_error</a>(<span
 class="keywordtype">int</span> <a class="code" 
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a>)</div>
-<div class="line"><a name="l00049"></a><span class="lineno">   
49</span>&#160;{</div>
-<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; 
 <span class="keywordflow">return</span> (error == EINPROGRESS);</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   
31</span>&#160;</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   
32</span>&#160;<span class="comment">// Returns a socket file descriptor for 
the specified options.</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   
33</span>&#160;<span class="comment">// NOTE: on OS X, the returned socket will 
have the SO_NOSIGPIPE option set.</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">   
34</a></span>&#160;<span class="keyword">inline</span> <a class="code" 
href="classTry.html">Try&lt;int_fd&gt;</a> <a class="code" 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">socket</a>(<span 
class="keywordtype">int</span> family, <span class="keywordtype">int</span> <a 
class="code" 
href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">type</a>,
 <span class="keywordtype">int</span> protocol)</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   
35</span>&#160;{</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; 
 <a class="code" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s;</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; 
 <span class="keywordflow">if</span> ((s = ::<a class="code" 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">socket</a>(family, 
type, protocol)) &lt; 0) {</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; 
   <span class="keywordflow">return</span> <a class="code" 
href="classErrnoError.html">ErrnoError</a>();</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; 
 }</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   
40</span>&#160;</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   
41</span>&#160;<span class="preprocessor">#ifdef __APPLE__</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   
42</span>&#160;<span class="preprocessor"></span>  <span class="comment">// 
Disable SIGPIPE via setsockopt because OS X does not support</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; 
 <span class="comment">// the MSG_NOSIGNAL flag on send(2).</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; 
 <span class="keyword">const</span> <span class="keywordtype">int</span> <a 
class="code" 
href="namespacecgroups_1_1memory_1_1oom_1_1killer.html#adeb417cd82edadd687c4ae8eab50cd3d">enable</a>
 = 1;</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; 
 <span class="keywordflow">if</span> (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, 
&amp;enable, <span class="keyword">sizeof</span>(<span 
class="keywordtype">int</span>)) == -1) {</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; 
   <span class="keywordflow">return</span> <a class="code" 
href="classErrnoError.html">ErrnoError</a>();</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; 
 }</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   
48</span>&#160;<span class="preprocessor">#endif // __APPLE__</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno">   
49</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; 
 <span class="keywordflow">return</span> s;</div>
 <div class="line"><a name="l00051"></a><span class="lineno">   
51</span>&#160;}</div>
 <div class="line"><a name="l00052"></a><span class="lineno">   
52</span>&#160;</div>
 <div class="line"><a name="l00053"></a><span class="lineno">   
53</span>&#160;</div>
-<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a55b1d2f6617c801b8c5c54dfc8ad2036">   
54</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a55b1d2f6617c801b8c5c54dfc8ad2036">is_socket</a>(<span 
class="keywordtype">int</span> fd)</div>
-<div class="line"><a name="l00055"></a><span class="lineno">   
55</span>&#160;{</div>
-<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; 
 <span class="keyword">struct </span><a class="code" 
href="namespacecgroups.html#a78e3c7ca2e422779908eec45f859d757">stat</a> 
statbuf;</div>
-<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; 
 <span class="keywordflow">if</span> (::fstat(fd, &amp;statbuf) &lt; 0) {</div>
-<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">false</span>;</div>
-<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; 
 }</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   
54</span>&#160;<span class="comment">// The error indicates the last socket 
operation has been</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   
55</span>&#160;<span class="comment">// interupted, the operation can be 
restarted immediately.</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a190d273d305decda6696ed04b3adbd59">   
56</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a190d273d305decda6696ed04b3adbd59">is_restartable_error</a>(<span
 class="keywordtype">int</span> <a class="code" 
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a>)</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   
57</span>&#160;{</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; 
 <span class="keywordflow">return</span> (error == EINTR);</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   
59</span>&#160;}</div>
 <div class="line"><a name="l00060"></a><span class="lineno">   
60</span>&#160;</div>
-<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; 
 <span class="keywordflow">return</span> <a class="code" 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#a953b4d8769906f7afe486c0ee0955fd3">S_ISSOCK</a>(statbuf.st_mode)
 != 0;</div>
-<div class="line"><a name="l00062"></a><span class="lineno">   
62</span>&#160;}</div>
-<div class="line"><a name="l00063"></a><span class="lineno">   
63</span>&#160;</div>
-<div class="line"><a name="l00064"></a><span class="lineno">   
64</span>&#160;} <span class="comment">// namespace net {</span></div>
-<div class="line"><a name="l00065"></a><span class="lineno">   
65</span>&#160;</div>
-<div class="line"><a name="l00066"></a><span class="lineno">   
66</span>&#160;<span class="preprocessor">#endif // 
__STOUT_OS_POSIX_SOCKET_HPP__</span></div>
-<div class="ttc" id="namespacenet_html_a55b1d2f6617c801b8c5c54dfc8ad2036"><div 
class="ttname"><a 
href="namespacenet.html#a55b1d2f6617c801b8c5c54dfc8ad2036">net::is_socket</a></div><div
 class="ttdeci">bool is_socket(int fd)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:54</div></div>
-<div class="ttc" id="namespacenet_html_a6d996e15b39630257af8d8a0379c7f7a"><div 
class="ttname"><a 
href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">net::is_inprogress_error</a></div><div
 class="ttdeci">bool is_inprogress_error(int error)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:48</div></div>
+<div class="line"><a name="l00061"></a><span class="lineno">   
61</span>&#160;</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   
62</span>&#160;<span class="comment">// The error indicates the last socket 
function on a non-blocking socket</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno">   
63</span>&#160;<span class="comment">// cannot be completed. This is a 
temporary condition and the caller can</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno">   
64</span>&#160;<span class="comment">// retry the operation later.</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a750f9463500ec714c5d5db550340a772">   
65</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a750f9463500ec714c5d5db550340a772">is_retryable_error</a>(<span
 class="keywordtype">int</span> <a class="code" 
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a>)</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   
66</span>&#160;{</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; 
 <span class="keywordflow">return</span> (error == EWOULDBLOCK || error == 
EAGAIN);</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   
68</span>&#160;}</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   
69</span>&#160;</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   
70</span>&#160;</div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">   
71</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">is_inprogress_error</a>(<span
 class="keywordtype">int</span> <a class="code" 
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a>)</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   
72</span>&#160;{</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; 
 <span class="keywordflow">return</span> (error == EINPROGRESS);</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   
74</span>&#160;}</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   
75</span>&#160;</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   
76</span>&#160;</div>
+<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a55b1d2f6617c801b8c5c54dfc8ad2036">   
77</a></span>&#160;<span class="keyword">inline</span> <span 
class="keywordtype">bool</span> <a class="code" 
href="namespacenet.html#a55b1d2f6617c801b8c5c54dfc8ad2036">is_socket</a>(<span 
class="keywordtype">int</span> fd)</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   
78</span>&#160;{</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; 
 <span class="keyword">struct </span><a class="code" 
href="namespacecgroups.html#a78e3c7ca2e422779908eec45f859d757">stat</a> 
statbuf;</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; 
 <span class="keywordflow">if</span> (::fstat(fd, &amp;statbuf) &lt; 0) {</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">false</span>;</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; 
 }</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   
83</span>&#160;</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; 
 <span class="keywordflow">return</span> <a class="code" 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#a953b4d8769906f7afe486c0ee0955fd3">S_ISSOCK</a>(statbuf.st_mode)
 != 0;</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   
85</span>&#160;}</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   
86</span>&#160;</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   
87</span>&#160;} <span class="comment">// namespace net {</span></div>
+<div class="line"><a name="l00088"></a><span class="lineno">   
88</span>&#160;</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   
89</span>&#160;<span class="preprocessor">#endif // 
__STOUT_OS_POSIX_SOCKET_HPP__</span></div>
+<div class="ttc" id="namespacenet_html_a4cfca6331034dc0a6dc6077fc048843b"><div 
class="ttname"><a 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">net::socket</a></div><div
 class="ttdeci">Try&lt; int_fd &gt; socket(int family, int type, int 
protocol)</div><div class="ttdef"><b>Definition:</b> socket.hpp:34</div></div>
+<div class="ttc" id="namespacenet_html_a55b1d2f6617c801b8c5c54dfc8ad2036"><div 
class="ttname"><a 
href="namespacenet.html#a55b1d2f6617c801b8c5c54dfc8ad2036">net::is_socket</a></div><div
 class="ttdeci">bool is_socket(int fd)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:77</div></div>
+<div class="ttc" 
id="namespacecgroups_1_1memory_1_1oom_1_1killer_html_adeb417cd82edadd687c4ae8eab50cd3d"><div
 class="ttname"><a 
href="namespacecgroups_1_1memory_1_1oom_1_1killer.html#adeb417cd82edadd687c4ae8eab50cd3d">cgroups::memory::oom::killer::enable</a></div><div
 class="ttdeci">Try&lt; Nothing &gt; enable(const std::string &amp;hierarchy, 
const std::string &amp;cgroup)</div></div>
+<div class="ttc" id="classTry_html"><div class="ttname"><a 
href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> 
try.hpp:34</div></div>
+<div class="ttc" id="namespacenet_html_a6d996e15b39630257af8d8a0379c7f7a"><div 
class="ttname"><a 
href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">net::is_inprogress_error</a></div><div
 class="ttdeci">bool is_inprogress_error(int error)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:71</div></div>
 <div class="ttc" 
id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_a953b4d8769906f7afe486c0ee0955fd3"><div
 class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#a953b4d8769906f7afe486c0ee0955fd3">S_ISSOCK</a></div><div
 class="ttdeci">bool S_ISSOCK(const int mode)</div><div 
class="ttdef"><b>Definition:</b> windows.hpp:236</div></div>
-<div class="ttc" id="namespacenet_html_a69f77aa4677f1dd1c69169589b30a31b"><div 
class="ttname"><a 
href="namespacenet.html#a69f77aa4677f1dd1c69169589b30a31b">net::send</a></div><div
 class="ttdeci">ssize_t send(const os::WindowsFD &amp;fd, const void *buf, 
size_t len, int flags)</div><div class="ttdef"><b>Definition:</b> 
socket.hpp:136</div></div>
-<div class="ttc" id="namespacenet_html_a190d273d305decda6696ed04b3adbd59"><div 
class="ttname"><a 
href="namespacenet.html#a190d273d305decda6696ed04b3adbd59">net::is_restartable_error</a></div><div
 class="ttdeci">bool is_restartable_error(int error)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:33</div></div>
-<div class="ttc" id="namespacenet_html_a5b5c23ac2d0fa4ccaedff024f2d9a32c"><div 
class="ttname"><a 
href="namespacenet.html#a5b5c23ac2d0fa4ccaedff024f2d9a32c">net::recv</a></div><div
 class="ttdeci">ssize_t recv(const os::WindowsFD &amp;fd, void *buf, size_t 
len, int flags)</div><div class="ttdef"><b>Definition:</b> 
socket.hpp:145</div></div>
+<div class="ttc" id="classErrnoError_html"><div class="ttname"><a 
href="classErrnoError.html">ErrnoError</a></div><div 
class="ttdef"><b>Definition:</b> errorbase.hpp:49</div></div>
+<div class="ttc" id="namespacenet_html_a69f77aa4677f1dd1c69169589b30a31b"><div 
class="ttname"><a 
href="namespacenet.html#a69f77aa4677f1dd1c69169589b30a31b">net::send</a></div><div
 class="ttdeci">ssize_t send(const os::WindowsFD &amp;fd, const void *buf, 
size_t len, int flags)</div><div class="ttdef"><b>Definition:</b> 
socket.hpp:162</div></div>
+<div class="ttc" id="namespacenet_html_a190d273d305decda6696ed04b3adbd59"><div 
class="ttname"><a 
href="namespacenet.html#a190d273d305decda6696ed04b3adbd59">net::is_restartable_error</a></div><div
 class="ttdeci">bool is_restartable_error(int error)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:56</div></div>
+<div class="ttc" id="namespacenet_html_a5b5c23ac2d0fa4ccaedff024f2d9a32c"><div 
class="ttname"><a 
href="namespacenet.html#a5b5c23ac2d0fa4ccaedff024f2d9a32c">net::recv</a></div><div
 class="ttdeci">ssize_t recv(const os::WindowsFD &amp;fd, void *buf, size_t 
len, int flags)</div><div class="ttdef"><b>Definition:</b> 
socket.hpp:171</div></div>
 <div class="ttc" 
id="namespaceprocess_1_1http_html_a54e53c8006298fe99e3fb5f55c0e8c41"><div 
class="ttname"><a 
href="namespaceprocess_1_1http.html#a54e53c8006298fe99e3fb5f55c0e8c41">process::http::connect</a></div><div
 class="ttdeci">Future&lt; Connection &gt; connect(const network::Address 
&amp;address, Scheme scheme)</div></div>
 <div class="ttc" 
id="namespaceprocess_1_1network_html_aa05dd9eea0c1e4d3d49e2fc049c1a446"><div 
class="ttname"><a 
href="namespaceprocess_1_1network.html#aa05dd9eea0c1e4d3d49e2fc049c1a446">process::network::accept</a></div><div
 class="ttdeci">Try&lt; int_fd &gt; accept(int_fd s)</div><div 
class="ttdef"><b>Definition:</b> network.hpp:31</div></div>
 <div class="ttc" 
id="namespacecgroups_html_a78e3c7ca2e422779908eec45f859d757"><div 
class="ttname"><a 
href="namespacecgroups.html#a78e3c7ca2e422779908eec45f859d757">cgroups::stat</a></div><div
 class="ttdeci">Try&lt; hashmap&lt; std::string, uint64_t &gt; &gt; stat(const 
std::string &amp;hierarchy, const std::string &amp;cgroup, const std::string 
&amp;file)</div></div>
 <div class="ttc" 
id="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec_html_ae58e703656ab4a1bd5d9870441236727"><div
 class="ttname"><a 
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">mesos::internal::slave::cni::spec::error</a></div><div
 class="ttdeci">std::string error(const std::string &amp;msg, uint32_t 
code)</div></div>
+<div class="ttc" 
id="namespacemesos_1_1internal_1_1fs_html_a2343e2642db514496ba8380776487fba"><div
 class="ttname"><a 
href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">mesos::internal::fs::type</a></div><div
 class="ttdeci">Try&lt; uint32_t &gt; type(const std::string 
&amp;path)</div></div>
 <div class="ttc" 
id="namespaceprocess_1_1network_html_ad067110a4b38cc83785a43f49bf6c8e2"><div 
class="ttname"><a 
href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">process::network::bind</a></div><div
 class="ttdeci">Try&lt; Nothing &gt; bind(int_fd s, const Address 
&amp;address)</div><div class="ttdef"><b>Definition:</b> 
network.hpp:46</div></div>
-<div class="ttc" id="namespacenet_html_a750f9463500ec714c5d5db550340a772"><div 
class="ttname"><a 
href="namespacenet.html#a750f9463500ec714c5d5db550340a772">net::is_retryable_error</a></div><div
 class="ttdeci">bool is_retryable_error(int error)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:42</div></div>
+<div class="ttc" id="int__fd_8hpp_html_aea4dbda01c90455f158ffa9b924c2f07"><div 
class="ttname"><a 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a></div><div 
class="ttdeci">int int_fd</div><div class="ttdef"><b>Definition:</b> 
int_fd.hpp:35</div></div>
+<div class="ttc" id="namespacenet_html_a750f9463500ec714c5d5db550340a772"><div 
class="ttname"><a 
href="namespacenet.html#a750f9463500ec714c5d5db550340a772">net::is_retryable_error</a></div><div
 class="ttdeci">bool is_retryable_error(int error)</div><div 
class="ttdef"><b>Definition:</b> socket.hpp:65</div></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp.html 
b/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp.html
index c1993a4..9a9727a 100644
--- a/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp.html
+++ b/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp.html
@@ -48,9 +48,6 @@
 </div>
 </div><!-- top -->
 <div class="header">
-  <div class="summary">
-<a href="#namespaces">Namespaces</a> &#124;
-<a href="#func-members">Functions</a>  </div>
   <div class="headertitle">
 <div class="title">socket.hpp File Reference</div>  </div>
 </div><!--header-->
@@ -61,17 +58,6 @@
 <code>#include &lt;<a class="el" 
href="stout_2include_2stout_2os_2posix_2socket_8hpp_source.html">stout/os/posix/socket.hpp</a>&gt;</code><br/>
 </div>
 <p><a href="stout_2include_2stout_2os_2socket_8hpp_source.html">Go to the 
source code of this file.</a></p>
-<table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="namespaces"></a>
-Namespaces</h2></td></tr>
-<tr class="memitem:namespacenet"><td class="memItemLeft" align="right" 
valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespacenet.html">net</a></td></tr>
-<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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:a4cfca6331034dc0a6dc6077fc048843b"><td class="memItemLeft" 
align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; <a 
class="el" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> 
&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">net::socket</a> (int 
family, int type, int protocol)</td></tr>
-<tr class="separator:a4cfca6331034dc0a6dc6077fc048843b"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
-</table>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp_source.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp_source.html 
b/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp_source.html
index 290cfe7..ad8b319 100644
--- a/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp_source.html
+++ b/content/api/latest/c++/stout_2include_2stout_2os_2socket_8hpp_source.html
@@ -78,43 +78,12 @@
 <div class="line"><a name="l00024"></a><span class="lineno">   
24</span>&#160;<span class="preprocessor"></span><span 
class="preprocessor">#include &lt;<a class="code" 
href="stout_2include_2stout_2os_2posix_2socket_8hpp.html">stout/os/posix/socket.hpp</a>&gt;</span></div>
 <div class="line"><a name="l00025"></a><span class="lineno">   
25</span>&#160;<span class="preprocessor">#endif // __WINDOWS__</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   
26</span>&#160;<span class="preprocessor"></span></div>
-<div class="line"><a name="l00027"></a><span class="lineno">   
27</span>&#160;<span class="keyword">namespace </span>net {</div>
-<div class="line"><a name="l00028"></a><span class="lineno">   
28</span>&#160;</div>
-<div class="line"><a name="l00029"></a><span class="lineno">   
29</span>&#160;<span class="comment">// Returns a socket file descriptor for 
the specified options.</span></div>
-<div class="line"><a name="l00030"></a><span class="lineno">   
30</span>&#160;<span class="comment">// NOTE: on OS X, the returned socket will 
have the SO_NOSIGPIPE option set.</span></div>
-<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">   
31</a></span>&#160;<span class="keyword">inline</span> <a class="code" 
href="classTry.html">Try&lt;int_fd&gt;</a> <a class="code" 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">socket</a>(<span 
class="keywordtype">int</span> family, <span class="keywordtype">int</span> <a 
class="code" 
href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">type</a>,
 <span class="keywordtype">int</span> protocol)</div>
-<div class="line"><a name="l00032"></a><span class="lineno">   
32</span>&#160;{</div>
-<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; 
 <a class="code" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s;</div>
-<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; 
 <span class="keywordflow">if</span> ((s = ::<a class="code" 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">socket</a>(family, 
type, protocol)) &lt; 0) {</div>
-<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; 
   <span class="keywordflow">return</span> <a class="code" 
href="classErrnoError.html">ErrnoError</a>();</div>
-<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; 
 }</div>
-<div class="line"><a name="l00037"></a><span class="lineno">   
37</span>&#160;</div>
-<div class="line"><a name="l00038"></a><span class="lineno">   
38</span>&#160;<span class="preprocessor">#ifdef __APPLE__</span></div>
-<div class="line"><a name="l00039"></a><span class="lineno">   
39</span>&#160;<span class="preprocessor"></span>  <span class="comment">// 
Disable SIGPIPE via setsockopt because OS X does not support</span></div>
-<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; 
 <span class="comment">// the MSG_NOSIGNAL flag on send(2).</span></div>
-<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; 
 <span class="keyword">const</span> <span class="keywordtype">int</span> <a 
class="code" 
href="namespacecgroups_1_1memory_1_1oom_1_1killer.html#adeb417cd82edadd687c4ae8eab50cd3d">enable</a>
 = 1;</div>
-<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; 
 <span class="keywordflow">if</span> (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, 
&amp;enable, <span class="keyword">sizeof</span>(<span 
class="keywordtype">int</span>)) == -1) {</div>
-<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; 
   <span class="keywordflow">return</span> <a class="code" 
href="classErrnoError.html">ErrnoError</a>();</div>
-<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; 
 }</div>
-<div class="line"><a name="l00045"></a><span class="lineno">   
45</span>&#160;<span class="preprocessor">#endif // __APPLE__</span></div>
-<div class="line"><a name="l00046"></a><span class="lineno">   
46</span>&#160;<span class="preprocessor"></span></div>
-<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; 
 <span class="keywordflow">return</span> s;</div>
-<div class="line"><a name="l00048"></a><span class="lineno">   
48</span>&#160;}</div>
-<div class="line"><a name="l00049"></a><span class="lineno">   
49</span>&#160;</div>
-<div class="line"><a name="l00050"></a><span class="lineno">   
50</span>&#160;} <span class="comment">// namespace net {</span></div>
-<div class="line"><a name="l00051"></a><span class="lineno">   
51</span>&#160;</div>
-<div class="line"><a name="l00052"></a><span class="lineno">   
52</span>&#160;<span class="preprocessor">#endif // 
__STOUT_OS_SOCKET_HPP__</span></div>
-<div class="ttc" id="namespacenet_html_a4cfca6331034dc0a6dc6077fc048843b"><div 
class="ttname"><a 
href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">net::socket</a></div><div
 class="ttdeci">Try&lt; int_fd &gt; socket(int family, int type, int 
protocol)</div><div class="ttdef"><b>Definition:</b> socket.hpp:31</div></div>
-<div class="ttc" 
id="namespacecgroups_1_1memory_1_1oom_1_1killer_html_adeb417cd82edadd687c4ae8eab50cd3d"><div
 class="ttname"><a 
href="namespacecgroups_1_1memory_1_1oom_1_1killer.html#adeb417cd82edadd687c4ae8eab50cd3d">cgroups::memory::oom::killer::enable</a></div><div
 class="ttdeci">Try&lt; Nothing &gt; enable(const std::string &amp;hierarchy, 
const std::string &amp;cgroup)</div></div>
-<div class="ttc" id="classTry_html"><div class="ttname"><a 
href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> 
try.hpp:34</div></div>
-<div class="ttc" id="classErrnoError_html"><div class="ttname"><a 
href="classErrnoError.html">ErrnoError</a></div><div 
class="ttdef"><b>Definition:</b> errorbase.hpp:49</div></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   
27</span>&#160;<span class="preprocessor">#endif // 
__STOUT_OS_SOCKET_HPP__</span></div>
 <div class="ttc" id="stout_2include_2stout_2os_2posix_2socket_8hpp_html"><div 
class="ttname"><a 
href="stout_2include_2stout_2os_2posix_2socket_8hpp.html">socket.hpp</a></div></div>
 <div class="ttc" id="error_8hpp_html"><div class="ttname"><a 
href="error_8hpp.html">error.hpp</a></div></div>
 <div class="ttc" id="try_8hpp_html"><div class="ttname"><a 
href="try_8hpp.html">try.hpp</a></div></div>
 <div class="ttc" id="int__fd_8hpp_html"><div class="ttname"><a 
href="int__fd_8hpp.html">int_fd.hpp</a></div></div>
-<div class="ttc" 
id="namespacemesos_1_1internal_1_1fs_html_a2343e2642db514496ba8380776487fba"><div
 class="ttname"><a 
href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">mesos::internal::fs::type</a></div><div
 class="ttdeci">Try&lt; uint32_t &gt; type(const std::string 
&amp;path)</div></div>
 <div class="ttc" 
id="stout_2include_2stout_2os_2windows_2socket_8hpp_html"><div 
class="ttname"><a 
href="stout_2include_2stout_2os_2windows_2socket_8hpp.html">socket.hpp</a></div></div>
-<div class="ttc" id="int__fd_8hpp_html_aea4dbda01c90455f158ffa9b924c2f07"><div 
class="ttname"><a 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a></div><div 
class="ttdeci">int int_fd</div><div class="ttdef"><b>Definition:</b> 
int_fd.hpp:35</div></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/stout_2include_2stout_2os_2windows_2socket_8hpp.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/stout_2include_2stout_2os_2windows_2socket_8hpp.html 
b/content/api/latest/c++/stout_2include_2stout_2os_2windows_2socket_8hpp.html
index fd467d6..76c47c1 100644
--- 
a/content/api/latest/c++/stout_2include_2stout_2os_2windows_2socket_8hpp.html
+++ 
b/content/api/latest/c++/stout_2include_2stout_2os_2windows_2socket_8hpp.html
@@ -57,7 +57,10 @@
 <div class="contents">
 <div class="textblock"><code>#include &lt;glog/logging.h&gt;</code><br/>
 <code>#include &lt;<a class="el" 
href="abort_8hpp_source.html">stout/abort.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="try_8hpp_source.html">stout/try.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="error_8hpp_source.html">stout/error.hpp</a>&gt;</code><br/>
 <code>#include &lt;<a class="el" 
href="3rdparty_2stout_2include_2stout_2windows_8hpp_source.html">stout/windows.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="int__fd_8hpp_source.html">stout/os/int_fd.hpp</a>&gt;</code><br/>
 <code>#include &lt;<a class="el" 
href="fd_8hpp_source.html">stout/os/windows/fd.hpp</a>&gt;</code><br/>
 </div>
 <p><a href="stout_2include_2stout_2os_2windows_2socket_8hpp_source.html">Go to 
the source code of this file.</a></p>
@@ -79,6 +82,8 @@ Functions</h2></td></tr>
 <tr class="separator:a750f9463500ec714c5d5db550340a772"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:a6d996e15b39630257af8d8a0379c7f7a"><td class="memItemLeft" 
align="right" valign="top">bool&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="namespacenet.html#a6d996e15b39630257af8d8a0379c7f7a">net::is_inprogress_error</a>
 (int error)</td></tr>
 <tr class="separator:a6d996e15b39630257af8d8a0379c7f7a"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1a28d65fc659da0fd236f2641cd07f8d"><td class="memItemLeft" 
align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; <a 
class="el" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> 
&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespacenet.html#a1a28d65fc659da0fd236f2641cd07f8d">net::socket</a> (int 
family, int type, int protocol, DWORD <a class="el" 
href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a>=WSA_FLAG_OVERLAPPED|WSA_FLAG_NO_HANDLE_INHERIT)</td></tr>
+<tr class="separator:a1a28d65fc659da0fd236f2641cd07f8d"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:a9edfdf63a58b569ec3cb601aef9df17c"><td class="memItemLeft" 
align="right" valign="top"><a class="el" 
href="classos_1_1WindowsFD.html">os::WindowsFD</a>&#160;</td><td 
class="memItemRight" valign="bottom"><a class="el" 
href="namespacenet.html#a9edfdf63a58b569ec3cb601aef9df17c">net::accept</a> 
(const <a class="el" href="classos_1_1WindowsFD.html">os::WindowsFD</a> 
&amp;fd, sockaddr *addr, socklen_t *addrlen)</td></tr>
 <tr class="separator:a9edfdf63a58b569ec3cb601aef9df17c"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:a96764dea6ff234ddde909e6372090459"><td class="memItemLeft" 
align="right" valign="top">int&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="namespacenet.html#a96764dea6ff234ddde909e6372090459">net::bind</a> (const 
<a class="el" href="classos_1_1WindowsFD.html">os::WindowsFD</a> &amp;fd, const 
sockaddr *addr, socklen_t addrlen)</td></tr>

Reply via email to