?? type_gsecuresocketserver.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 + -