⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classpsocksudpsocket.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Reimplemented from <a class="el" href="classPIPSocket.html#a12">PIPSocket</a>.    </td>  </tr></table><a name="a8" doxytag="PSocksUDPSocket::GetPeerAddress"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PSocksUDPSocket::GetPeerAddress </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">Address &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>addr</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the Internet Protocol address for the peer host the socket is connected to.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the IP number was returned. </dl><p>Reimplemented from <a class="el" href="classPIPSocket.html#a11">PIPSocket</a>.    </td>  </tr></table><a name="a5" doxytag="PSocksUDPSocket::Listen"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PSocksUDPSocket::Listen </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>queueSize</em> = 5, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>WORD&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>port</em> = 0, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPSocket.html#z369_0">Reusability</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>reuse</em> = AddressIsExclusive</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Listen on a socket for a remote host on the specified port number. This may be used for server based applications. A "connecting" socket begins a connection by initiating a connection to this socket. An active socket of this type is then used to generate other "accepting" sockets which establish a two way communications channel with the "connecting" socket.<p>If the <code>port</code> parameter is zero then the port number as defined by the object instance construction or the &lt;A&gt;<a class="el" href="classPSocket.html#z373_2">PIPSocket::SetPort()</a> function.<p>For the UDP protocol, the <code>queueSize</code> parameter is ignored.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if the channel was successfully opened. </dl><p>Reimplemented from <a class="el" href="classPIPSocket.html#a7">PIPSocket</a>.    </td>  </tr></table><a name="a10" doxytag="PSocksUDPSocket::ReadFrom"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PSocksUDPSocket::ReadFrom </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>buf</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>PINDEX&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>len</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>Address &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>addr</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>WORD &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>port</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Read a datagram from a remote computer.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if any bytes were sucessfully read. </dl><p>Reimplemented from <a class="el" href="classPIPDatagramSocket.html#a0">PIPDatagramSocket</a>.    </td>  </tr></table><a name="b0" doxytag="PSocksUDPSocket::SetErrorCodes"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual void PSocksUDPSocket::SetErrorCodes </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPChannel.html#z55_0">PChannel::Errors</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>errCode</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>osErr</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><p>Implements <a class="el" href="classPSocksProtocol.html#b1">PSocksProtocol</a>.    </td>  </tr></table><a name="a11" doxytag="PSocksUDPSocket::WriteTo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PSocksUDPSocket::WriteTo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const void *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>buf</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>PINDEX&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>len</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const Address &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>addr</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>WORD&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>port</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Write a datagram to a remote computer.<p><dl compact><dt><b>Returns: </b></dt><dd> TRUE if all the bytes were sucessfully written. </dl><p>Reimplemented from <a class="el" href="classPIPDatagramSocket.html#a1">PIPDatagramSocket</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n1" doxytag="PSocksUDPSocket::serverAddress"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> Address PSocksUDPSocket::serverAddress<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n0" doxytag="PSocksUDPSocket::socksControl"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPTCPSocket.html">PTCPSocket</a> PSocksUDPSocket::socksControl<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="socks_8h-source.html">socks.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:19 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -