blob: 389ebd340ccc12c8e6f492a30a76855faa9310af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>anytun: PracticalSocket.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul></div>
<h1>PracticalSocket.cpp File Reference</h1><code>#include "<a class="el" href="PracticalSocket_8h-source.html">PracticalSocket.h</a>"</code><br>
<code>#include <sys/types.h></code><br>
<code>#include <sys/socket.h></code><br>
<code>#include <netdb.h></code><br>
<code>#include <arpa/inet.h></code><br>
<code>#include <unistd.h></code><br>
<code>#include <netinet/in.h></code><br>
<code>#include <errno.h></code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacestd.html">std</a></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void </td><td class="memItemRight" valign="bottom"><a class="el" href="PracticalSocket_8cpp.html#ba7a57aadc5c75eaab8ee698d0fa6608">raw_type</a></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="PracticalSocket_8cpp.html#155e03535e1d5c1f5df7ceafe63dbdb0">fillAddr</a> (const string &address, unsigned short port, sockaddr_in &addr)</td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="ba7a57aadc5c75eaab8ee698d0fa6608"></a><!-- doxytag: member="PracticalSocket.cpp::raw_type" ref="ba7a57aadc5c75eaab8ee698d0fa6608" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef void <a class="el" href="PracticalSocket_8cpp.html#ba7a57aadc5c75eaab8ee698d0fa6608">raw_type</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="155e03535e1d5c1f5df7ceafe63dbdb0"></a><!-- doxytag: member="PracticalSocket.cpp::fillAddr" ref="155e03535e1d5c1f5df7ceafe63dbdb0" args="(const string &address, unsigned short port, sockaddr_in &addr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void fillAddr </td>
<td>(</td>
<td class="paramtype">const string & </td>
<td class="paramname"> <em>address</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned short </td>
<td class="paramname"> <em>port</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">sockaddr_in & </td>
<td class="paramname"> <em>addr</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:49 2007 for anytun by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>
|