summaryrefslogtreecommitdiff
path: root/doc/html/PracticalSocket_8h-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/PracticalSocket_8h-source.html')
-rw-r--r--doc/html/PracticalSocket_8h-source.html197
1 files changed, 0 insertions, 197 deletions
diff --git a/doc/html/PracticalSocket_8h-source.html b/doc/html/PracticalSocket_8h-source.html
deleted file mode 100644
index fb4f728..0000000
--- a/doc/html/PracticalSocket_8h-source.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!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.h Source File</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&nbsp;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&nbsp;List</span></a></li>
- <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
- </ul></div>
-<h1>PracticalSocket.h</h1><a href="PracticalSocket_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
-<a name="l00002"></a>00002 <span class="comment"> * anytun</span>
-<a name="l00003"></a>00003 <span class="comment"> *</span>
-<a name="l00004"></a>00004 <span class="comment"> * The secure anycast tunneling protocol (satp) defines a protocol used</span>
-<a name="l00005"></a>00005 <span class="comment"> * for communication between any combination of unicast and anycast</span>
-<a name="l00006"></a>00006 <span class="comment"> * tunnel endpoints. It has less protocol overhead than IPSec in Tunnel</span>
-<a name="l00007"></a>00007 <span class="comment"> * mode and allows tunneling of every ETHER TYPE protocol (e.g.</span>
-<a name="l00008"></a>00008 <span class="comment"> * ethernet, ip, arp ...). satp directly includes cryptography and</span>
-<a name="l00009"></a>00009 <span class="comment"> * message authentication based on the methodes used by SRTP. It is</span>
-<a name="l00010"></a>00010 <span class="comment"> * intended to deliver a generic, scaleable and secure solution for</span>
-<a name="l00011"></a>00011 <span class="comment"> * tunneling and relaying of packets of any protocol.</span>
-<a name="l00012"></a>00012 <span class="comment"> *</span>
-<a name="l00013"></a>00013 <span class="comment"> *</span>
-<a name="l00014"></a>00014 <span class="comment"> * Copyright (C) 2007 anytun.org &lt;satp@wirdorange.org&gt;</span>
-<a name="l00015"></a>00015 <span class="comment"> *</span>
-<a name="l00016"></a>00016 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
-<a name="l00017"></a>00017 <span class="comment"> * it under the terms of the GNU General Public License version 2</span>
-<a name="l00018"></a>00018 <span class="comment"> * as published by the Free Software Foundation.</span>
-<a name="l00019"></a>00019 <span class="comment"> *</span>
-<a name="l00020"></a>00020 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
-<a name="l00021"></a>00021 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
-<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
-<a name="l00023"></a>00023 <span class="comment"> * GNU General Public License for more details.</span>
-<a name="l00024"></a>00024 <span class="comment"> *</span>
-<a name="l00025"></a>00025 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
-<a name="l00026"></a>00026 <span class="comment"> * along with this program (see the file COPYING included with this</span>
-<a name="l00027"></a>00027 <span class="comment"> * distribution); if not, write to the Free Software Foundation, Inc.,</span>
-<a name="l00028"></a>00028 <span class="comment"> * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
-<a name="l00029"></a>00029 <span class="comment"> */</span>
-<a name="l00030"></a>00030
-<a name="l00031"></a>00031 <span class="comment">// this is from: http://cs.ecs.baylor.edu/~donahoo/practical/CSockets/practical/</span>
-<a name="l00032"></a>00032 <span class="comment">// and this is their header:</span>
-<a name="l00033"></a>00033 <span class="comment">/*</span>
-<a name="l00034"></a>00034 <span class="comment"> * C++ sockets on Unix and Windows</span>
-<a name="l00035"></a>00035 <span class="comment"> * Copyright (C) 2002</span>
-<a name="l00036"></a>00036 <span class="comment"> *</span>
-<a name="l00037"></a>00037 <span class="comment"> * This program is free software; you can redistribute it and/or modify</span>
-<a name="l00038"></a>00038 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
-<a name="l00039"></a>00039 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or</span>
-<a name="l00040"></a>00040 <span class="comment"> * (at your option) any later version.</span>
-<a name="l00041"></a>00041 <span class="comment"> *</span>
-<a name="l00042"></a>00042 <span class="comment"> * This program is distributed in the hope that it will be useful,</span>
-<a name="l00043"></a>00043 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
-<a name="l00044"></a>00044 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
-<a name="l00045"></a>00045 <span class="comment"> * GNU General Public License for more details.</span>
-<a name="l00046"></a>00046 <span class="comment"> *</span>
-<a name="l00047"></a>00047 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
-<a name="l00048"></a>00048 <span class="comment"> * along with this program; if not, write to the Free Software</span>
-<a name="l00049"></a>00049 <span class="comment"> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span>
-<a name="l00050"></a>00050 <span class="comment"> */</span>
-<a name="l00051"></a>00051
-<a name="l00052"></a>00052 <span class="preprocessor">#ifndef __PRACTICALSOCKET_INCLUDED__</span>
-<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#define __PRACTICALSOCKET_INCLUDED__</span>
-<a name="l00054"></a>00054 <span class="preprocessor"></span>
-<a name="l00055"></a>00055 <span class="preprocessor">#include &lt;string&gt;</span> <span class="comment">// For string</span>
-<a name="l00056"></a>00056 <span class="preprocessor">#include &lt;exception&gt;</span> <span class="comment">// For exception class</span>
-<a name="l00057"></a>00057
-<a name="l00058"></a>00058 <span class="keyword">using namespace </span>std;
-<a name="l00059"></a>00059
-<a name="l00063"></a><a class="code" href="classSocketException.html">00063</a> <span class="keyword">class </span><a class="code" href="classSocketException.html">SocketException</a> : <span class="keyword">public</span> exception {
-<a name="l00064"></a>00064 <span class="keyword">public</span>:
-<a name="l00071"></a>00071 <a class="code" href="classSocketException.html#bb5bcecd9d9e20868c237ec5a82cf5c3">SocketException</a>(<span class="keyword">const</span> string &amp;message, <span class="keywordtype">bool</span> inclSysMsg = <span class="keyword">false</span>) <span class="keywordflow">throw</span>();
-<a name="l00072"></a>00072
-<a name="l00076"></a>00076 <a class="code" href="classSocketException.html#659557c899329aea01977c980c4db9b9">~SocketException</a>() <span class="keywordflow">throw</span>();
-<a name="l00077"></a>00077
-<a name="l00082"></a>00082 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classSocketException.html#534b0625abe62cad2bae94758aa6eb42">what</a>() <span class="keyword">const</span> <span class="keywordflow">throw</span>();
-<a name="l00083"></a>00083
-<a name="l00084"></a>00084 <span class="keyword">private</span>:
-<a name="l00085"></a><a class="code" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">00085</a> string <a class="code" href="classSocketException.html#dcfeba6d4ce5754b48ae9d37b07a7e87">userMessage</a>; <span class="comment">// Exception message</span>
-<a name="l00086"></a>00086 };
-<a name="l00087"></a>00087
-<a name="l00091"></a><a class="code" href="classSocket.html">00091</a> <span class="keyword">class </span><a class="code" href="classSocket.html">Socket</a> {
-<a name="l00092"></a>00092 <span class="keyword">public</span>:
-<a name="l00096"></a>00096 <a class="code" href="classSocket.html#eac4eb6379a543d38ed88977d3b6630a">~Socket</a>();
-<a name="l00097"></a>00097
-<a name="l00103"></a>00103 string <a class="code" href="classSocket.html#0fca07bdfa97874fba1a17995ed7cda3">getLocalAddress</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00104"></a>00104
-<a name="l00110"></a>00110 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classSocket.html#e01143b667d69483a2f53d0f4ce7eeed">getLocalPort</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00111"></a>00111
-<a name="l00118"></a>00118 <span class="keywordtype">void</span> <a class="code" href="classSocket.html#773fe4a35146002de76952e16fdebcfa">setLocalPort</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00119"></a>00119
-<a name="l00128"></a>00128 <span class="keywordtype">void</span> <a class="code" href="classSocket.html#a6b986410bc2e606ba27d01fa7cb8836">setLocalAddressAndPort</a>(<span class="keyword">const</span> string &amp;localAddress,
-<a name="l00129"></a>00129 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort = 0) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00130"></a>00130
-<a name="l00144"></a>00144 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSocket.html#c5060aeb501044044351d5a85b3fc95f">cleanUp</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00145"></a>00145
-<a name="l00152"></a>00152 <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classSocket.html#982c63b25c5b756321a74074a275adbc">resolveService</a>(<span class="keyword">const</span> string &amp;service,
-<a name="l00153"></a>00153 <span class="keyword">const</span> string &amp;protocol = <span class="stringliteral">"tcp"</span>);
-<a name="l00154"></a>00154
-<a name="l00155"></a>00155 <span class="keyword">private</span>:
-<a name="l00156"></a>00156 <span class="comment">// Prevent the user from trying to use value semantics on this object</span>
-<a name="l00157"></a>00157 <a class="code" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a>(<span class="keyword">const</span> <a class="code" href="classSocket.html">Socket</a> &amp;sock);
-<a name="l00158"></a>00158 <span class="keywordtype">void</span> <a class="code" href="classSocket.html#1ef8f4c222c32756c8b1537323702df8">operator=</a>(<span class="keyword">const</span> <a class="code" href="classSocket.html">Socket</a> &amp;sock);
-<a name="l00159"></a>00159
-<a name="l00160"></a>00160 <span class="keyword">protected</span>:
-<a name="l00161"></a><a class="code" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">00161</a> <span class="keywordtype">int</span> <a class="code" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a>; <span class="comment">// Socket descriptor</span>
-<a name="l00162"></a>00162 <a class="code" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a>(<span class="keywordtype">int</span> type, <span class="keywordtype">int</span> protocol) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00163"></a>00163 <a class="code" href="classSocket.html#656389d58fa00729ff70c4e159623f5c">Socket</a>(<span class="keywordtype">int</span> <a class="code" href="classSocket.html#d5704d2fdfb062139e1f88831617bbfb">sockDesc</a>);
-<a name="l00164"></a>00164 };
-<a name="l00165"></a>00165
-<a name="l00169"></a><a class="code" href="classCommunicatingSocket.html">00169</a> <span class="keyword">class </span><a class="code" href="classCommunicatingSocket.html">CommunicatingSocket</a> : <span class="keyword">public</span> <a class="code" href="classSocket.html">Socket</a> {
-<a name="l00170"></a>00170 <span class="keyword">public</span>:
-<a name="l00178"></a>00178 <span class="keywordtype">void</span> <a class="code" href="classCommunicatingSocket.html#9192374d9baab8e189860aa8d913683c">connect</a>(<span class="keyword">const</span> string &amp;foreignAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> foreignPort)
-<a name="l00179"></a>00179 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00180"></a>00180
-<a name="l00188"></a>00188 <span class="keywordtype">void</span> <a class="code" href="classCommunicatingSocket.html#ca4e86085c064641e86ae24ea29bbb94">send</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00189"></a>00189
-<a name="l00198"></a>00198 <span class="keywordtype">int</span> <a class="code" href="classCommunicatingSocket.html#7cf1fd470c0060171b68df9f68c7bd01">recv</a>(<span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00199"></a>00199
-<a name="l00205"></a>00205 string <a class="code" href="classCommunicatingSocket.html#13f9eca30ef56836cf23c163c848c09e">getForeignAddress</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00206"></a>00206
-<a name="l00212"></a>00212 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="classCommunicatingSocket.html#184fbb4775184b87ebd886a5587eb1a3">getForeignPort</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00213"></a>00213
-<a name="l00214"></a>00214 <span class="keyword">protected</span>:
-<a name="l00215"></a>00215 <a class="code" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(<span class="keywordtype">int</span> type, <span class="keywordtype">int</span> protocol) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00216"></a>00216 <a class="code" href="classCommunicatingSocket.html#0017517b8d6e761fde0c40475af3b2ab">CommunicatingSocket</a>(<span class="keywordtype">int</span> newConnSD);
-<a name="l00217"></a>00217 };
-<a name="l00218"></a>00218
-<a name="l00222"></a><a class="code" href="classTCPSocket.html">00222</a> <span class="keyword">class </span><a class="code" href="classTCPSocket.html">TCPSocket</a> : <span class="keyword">public</span> <a class="code" href="classCommunicatingSocket.html">CommunicatingSocket</a> {
-<a name="l00223"></a>00223 <span class="keyword">public</span>:
-<a name="l00228"></a>00228 <a class="code" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00229"></a>00229
-<a name="l00237"></a>00237 <a class="code" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a>(<span class="keyword">const</span> string &amp;foreignAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> foreignPort)
-<a name="l00238"></a>00238 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00239"></a>00239
-<a name="l00240"></a>00240 <span class="keyword">private</span>:
-<a name="l00241"></a>00241 <span class="comment">// Access for TCPServerSocket::accept() connection creation</span>
-<a name="l00242"></a><a class="code" href="classTCPSocket.html#e8bcdc0d25881a17b23e557296236fa9">00242</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTCPServerSocket.html">TCPServerSocket</a>;
-<a name="l00243"></a>00243 <a class="code" href="classTCPSocket.html#7a50427a401d1a6f3209d51818bad901">TCPSocket</a>(<span class="keywordtype">int</span> newConnSD);
-<a name="l00244"></a>00244 };
-<a name="l00245"></a>00245
-<a name="l00249"></a><a class="code" href="classTCPServerSocket.html">00249</a> <span class="keyword">class </span><a class="code" href="classTCPServerSocket.html">TCPServerSocket</a> : <span class="keyword">public</span> <a class="code" href="classSocket.html">Socket</a> {
-<a name="l00250"></a>00250 <span class="keyword">public</span>:
-<a name="l00260"></a>00260 <a class="code" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort, <span class="keywordtype">int</span> queueLen = 5)
-<a name="l00261"></a>00261 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00262"></a>00262
-<a name="l00272"></a>00272 <a class="code" href="classTCPServerSocket.html#e559a3154527d09fe14a8e5ee1f53d7a">TCPServerSocket</a>(<span class="keyword">const</span> string &amp;localAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort,
-<a name="l00273"></a>00273 <span class="keywordtype">int</span> queueLen = 5) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00274"></a>00274
-<a name="l00280"></a>00280 <a class="code" href="classTCPSocket.html">TCPSocket</a> *<a class="code" href="classTCPServerSocket.html#1d161137e1b069de7a7bfc14d3f8212c">accept</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00281"></a>00281
-<a name="l00282"></a>00282 <span class="keyword">private</span>:
-<a name="l00283"></a>00283 <span class="keywordtype">void</span> <a class="code" href="classTCPServerSocket.html#1f39a2e6721ab62d8875a234eb300bab">setListen</a>(<span class="keywordtype">int</span> queueLen) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00284"></a>00284 };
-<a name="l00285"></a>00285
-<a name="l00289"></a><a class="code" href="classUDPSocket.html">00289</a> <span class="keyword">class </span><a class="code" href="classUDPSocket.html">UDPSocket</a> : <span class="keyword">public</span> <a class="code" href="classCommunicatingSocket.html">CommunicatingSocket</a> {
-<a name="l00290"></a>00290 <span class="keyword">public</span>:
-<a name="l00295"></a>00295 <a class="code" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00296"></a>00296
-<a name="l00302"></a>00302 <a class="code" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00303"></a>00303
-<a name="l00310"></a>00310 <a class="code" href="classUDPSocket.html#4f86f3023f5a08f6355802599a10e100">UDPSocket</a>(<span class="keyword">const</span> string &amp;localAddress, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> localPort)
-<a name="l00311"></a>00311 <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00312"></a>00312
-<a name="l00318"></a>00318 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#7482e8e61cef160e1a7c0d6ac15c01be">disconnect</a>() <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00319"></a>00319
-<a name="l00330"></a>00330 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#41a3595e226f273953cbd38618af5d5b">sendTo</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen, <span class="keyword">const</span> string &amp;foreignAddress,
-<a name="l00331"></a>00331 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> foreignPort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00332"></a>00332
-<a name="l00343"></a>00343 <span class="keywordtype">int</span> <a class="code" href="classUDPSocket.html#bcd5c064e2496bd8b1888fd4e1b68949">recvFrom</a>(<span class="keywordtype">void</span> *buffer, <span class="keywordtype">int</span> bufferLen, string &amp;sourceAddress,
-<a name="l00344"></a>00344 <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> &amp;sourcePort) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00345"></a>00345
-<a name="l00351"></a>00351 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#4dcfff33b45d1b84b5a602fc6f4a27f8">setMulticastTTL</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> multicastTTL) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00352"></a>00352
-<a name="l00358"></a>00358 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#1b20c1e8bd49a9bd9b53dd4f1c8d4c11">joinGroup</a>(<span class="keyword">const</span> string &amp;multicastGroup) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00359"></a>00359
-<a name="l00365"></a>00365 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#78835eaeca8a5ac039b4579c795e3640">leaveGroup</a>(<span class="keyword">const</span> string &amp;multicastGroup) <span class="keywordflow">throw</span>(<a class="code" href="classSocketException.html">SocketException</a>);
-<a name="l00366"></a>00366
-<a name="l00367"></a>00367 <span class="keyword">private</span>:
-<a name="l00368"></a>00368 <span class="keywordtype">void</span> <a class="code" href="classUDPSocket.html#316f08a017aa160643812f3c08734d27">setBroadcast</a>();
-<a name="l00369"></a>00369 };
-<a name="l00370"></a>00370
-<a name="l00371"></a>00371 <span class="preprocessor">#endif</span>
-</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Dec 3 11:49:24 2007 for anytun by&nbsp;
-<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>