void CChatSocket::OnAccept(int nErrorCode) { // TODO: Add your specialized code here and/or call the base class if(nErrorCode==0) m_pDlg->OnAccept(); CAsyncSocket::OnAccept(nErrorCode); } void CChatSocket::OnClose(int nErrorCode) {
2021-08-25 20:13:45 1.83MB VC,聊天程序,socket编程
1