📄 classpsocks4socket.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>PSocks4Socket class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>PSocks4Socket Class Reference</h1><code>#include <<a class="el" href="socks_8h-source.html">socks.h</a>></code><p><p>Inheritance diagram for PSocks4Socket:<p><center><img src="classPSocks4Socket.png" usemap="#PSocks4Socket_map" border="0" alt=""></center><map name="PSocks4Socket_map"><area href="classPSocksSocket.html" alt="PSocksSocket" shape="rect" coords="55,280,156,304"><area href="classPTCPSocket.html" alt="PTCPSocket" shape="rect" coords="0,224,101,248"><area href="classPSocksProtocol.html" alt="PSocksProtocol" shape="rect" coords="111,224,212,248"><area href="classPIPSocket.html" alt="PIPSocket" shape="rect" coords="0,168,101,192"><area href="classPSocket.html" alt="PSocket" shape="rect" coords="0,112,101,136"><area href="classPChannel.html" alt="PChannel" shape="rect" coords="0,56,101,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,101,24"></map><a href="classPSocks4Socket-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classPSocks4Socket.html#a0">PSocks4Socket</a> (WORD <a class="el" href="classPSocket.html#n0">port</a>=0)</td></tr><tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classPSocks4Socket.html#a1">PSocks4Socket</a> (const <a class="el" href="classPString.html">PString</a> &host, WORD <a class="el" href="classPSocket.html#n0">port</a>=0)</td></tr><tr><td nowrap align=right valign=top>virtual <a class="el" href="classPObject.html">PObject</a> * </td><td valign=bottom><a class="el" href="classPSocks4Socket.html#a2">Clone</a> () const</td></tr><tr><td colspan=2><br><h2>Protected Methods</h2></td></tr><tr><td nowrap align=right valign=top>virtual BOOL </td><td valign=bottom><a class="el" href="classPSocks4Socket.html#b0">SendSocksCommand</a> (<a class="el" href="classPTCPSocket.html">PTCPSocket</a> &socket, BYTE command, const char *hostname, <a class="el" href="classPIPSocket_1_1Address.html">PIPSocket::Address</a> addr)</td></tr><tr><td nowrap align=right valign=top>virtual BOOL </td><td valign=bottom><a class="el" href="classPSocks4Socket.html#b1">ReceiveSocksResponse</a> (<a class="el" href="classPTCPSocket.html">PTCPSocket</a> &socket, <a class="el" href="classPIPSocket_1_1Address.html">PIPSocket::Address</a> &addr, WORD &<a class="el" href="classPSocket.html#n0">port</a>)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This class allows access to RFC1928 compliant SOCKS server. <p><hr><h2>Constructor & Destructor Documentation</h2><a name="a0" doxytag="PSocks4Socket::PSocks4Socket"></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"> PSocks4Socket::PSocks4Socket </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">WORD </td> <td class="mdname1" valign="top" nowrap> <em>port</em> = 0 </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a1" doxytag="PSocks4Socket::PSocks4Socket"></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"> PSocks4Socket::PSocks4Socket </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname" nowrap> <em>host</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>WORD </td> <td class="mdname" nowrap> <em>port</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr><h2>Member Function Documentation</h2><a name="a2" doxytag="PSocks4Socket::Clone"></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 <a class="el" href="classPObject.html">PObject</a>* PSocks4Socket::Clone </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Create a copy of the class on the heap. The exact semantics of the descendent class determine what is required to make a duplicate of the instance. Not all classes can even <em>do</em> a clone operation.<p>The main user of the clone function is the <A>PDictionary class as it requires copies of the dictionary keys.<p>The default behaviour is for this function to assert.<p><dl compact><dt><b>Returns: </b></dt><dd> pointer to new copy of the class instance. </dl><p>Reimplemented from <a class="el" href="classPTCPSocket.html#z425_0">PTCPSocket</a>. </td> </tr></table><a name="b1" doxytag="PSocks4Socket::ReceiveSocksResponse"></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 PSocks4Socket::ReceiveSocksResponse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPTCPSocket.html">PTCPSocket</a> & </td> <td class="mdname" nowrap> <em>socket</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPIPSocket_1_1Address.html">PIPSocket::Address</a> & </td> <td class="mdname" nowrap> <em>addr</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>WORD & </td> <td class="mdname" nowrap> <em>port</em></td> </tr> <tr> <td></td> <td class="md">) </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> </td> <td><p><p>Reimplemented from <a class="el" href="classPSocksProtocol.html#b3">PSocksProtocol</a>. </td> </tr></table><a name="b0" doxytag="PSocks4Socket::SendSocksCommand"></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 PSocks4Socket::SendSocksCommand </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPTCPSocket.html">PTCPSocket</a> & </td> <td class="mdname" nowrap> <em>socket</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>BYTE </td> <td class="mdname" nowrap> <em>command</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>hostname</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPIPSocket_1_1Address.html">PIPSocket::Address</a> </td> <td class="mdname" nowrap> <em>addr</em></td> </tr> <tr> <td></td> <td class="md">) </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> </td> <td><p><p>Reimplemented from <a class="el" href="classPSocksProtocol.html#b2">PSocksProtocol</a>. </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 + -