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

📄 type_gsecuresocketserver.html

📁 一个非常有用的开源代码
💻 HTML
字号:
<html><head><title>Generated Documentation</title></head><body>	<image src="headerimage.png">	<br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GSecureSocketServer</b></big></big></big><br>extends <a href="type_GSocketServer.html">GSocketServer</a><br></td><td></td></tr></table><br><br><big><big><i>Constructors (non-public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GSecureSocketServer</b></big>(int nMaxPacketSize, <a href="type_GRand.html">GRand</a>* pRand, int nPort)<br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GSecureSocketServer</b></big>()<br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">int <big><b>GetMessageCount</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the number of messages waiting to be received Note: you should call this method regularly.  If you don't, client's won't be able to handshake with this socket.</font></div><br>char* <big><b>GetNextMessage</b></big>(unsigned int* pnSize, int* pnOutConnectionNumber)<br><div style="margin-left: 80px;"><font color=brown> Receive the next message. (You are responsible to delete the buffer this returns)</font></div><br>bool <big><b>Send</b></big>(const void* pBuf, int nLen, int nConnectionNumber)<br><div style="margin-left: 80px;"><font color=brown> Send some data</font></div><br></div><br><big><big><i>Protected</i></big></big><br><div style="margin-left: 40px;">void <big><b>Handshake</b></big>()<br>bool <big><b>OnReceivePassphrase</b></big>(const unsigned char* pCypher, int nCypherSize, int nConnectionNumber)<br>bool <big><b>OnReceivePublicKey</b></big>(const char* pXML, int nXMLSize, int nConnectionNumber)<br>bool <big><b>SendPassphrase</b></big>(int nConnection, <a href="type_GKeyPair.html">GKeyPair</a>* pKeyPair)<br>bool <big><b>SendPublicKey</b></big>(int nConnection)<br></div><br></body></html>

⌨️ 快捷键说明

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