struct__socket.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 83 行
HTML
83 行
<!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>_socket struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.2.12 --><center><a class="qindex" href="index.html">Main Page</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>_socket Struct Reference</h1><code>#include <<a class="el" href="Connection_8h-source.html">Connection.h</a>></code><p><a href="struct__socket-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Attributes</h2></td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="struct__socket.html#m0">socketfd</a></td></tr><tr><td nowrap align=right valign=top>sockaddr_in </td><td valign=bottom><a class="el" href="struct__socket.html#m1">serv_addr</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Socket is a combination of a filedescriptor with a server adress. <p><p>Definition at line <a class="el" href="Connection_8h-source.html#l00052">52</a> of file <a class="el" href="Connection_8h-source.html">Connection.h</a>.<hr><h2>Member Data Documentation</h2><a name="m1" doxytag="_socket::serv_addr"></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"> struct sockaddr_in _socket::serv_addr </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Server information of the socket. <p>Definition at line <a class="el" href="Connection_8h-source.html#l00054">54</a> of file <a class="el" href="Connection_8h-source.html">Connection.h</a>.<p>Referenced by <a class="el" href="Connection_8C-source.html#l00093">Connection::connect</a>(), <a class="el" href="Connection_8C-source.html#l00172">Connection::receiveMessage</a>(), and <a class="el" href="Connection_8C-source.html#l00210">Connection::sendMessage</a>(). </td> </tr></table><a name="m0" doxytag="_socket::socketfd"></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"> int _socket::socketfd </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>File descriptor of the socket. <p>Definition at line <a class="el" href="Connection_8h-source.html#l00053">53</a> of file <a class="el" href="Connection_8h-source.html">Connection.h</a>.<p>Referenced by <a class="el" href="Connection_8C-source.html#l00093">Connection::connect</a>(), <a class="el" href="Connection_8C-source.html#l00151">Connection::disconnect</a>(), <a class="el" href="Connection_8C-source.html#l00162">Connection::isConnected</a>(), <a class="el" href="Connection_8C-source.html#l00227">Connection::message_loop</a>(), <a class="el" href="Connection_8C-source.html#l00172">Connection::receiveMessage</a>(), and <a class="el" href="Connection_8C-source.html#l00210">Connection::sendMessage</a>(). </td> </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="Connection_8h-source.html">Connection.h</a></ul><hr><address><small>Generated on Thu Mar 7 00:37:51 2002 for UvA Trilearn 2001 by<a href="http://www.doxygen.org/index.html"><img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.12 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?