/
// CMainFrame construction/destruction
LRESULT CMainFrame::OnOutbarNotify(WPARAM wParam, LPARAM lParam)
{
if((wParam)==NM_OB_ITEMCLICK)
{
CPlayView* pView=(CPlayView*)m_wndSplitter.GetPane(0,1);
::SendMessage(pView->m_hWnd,WM_VIEW_OUTBAR_NOTIFY,wParam,lParam);
}
return 0;
}
//响应消息WSA_ACCEPT
LRESULT CMainFrame::OnAccept(WPARAM wParam,LPARAM lParam)
{
int acsock;
int status;
if (WSAGETSELECTERROR( lParam ))
return -1;
if (WSAGETSELECTERROR( lParam ) == 0)
{ /* Success */
int req_sin_len = sizeof(req_sin );
//接受客户的连接请求
acsock = accept(Lsock,(struct sockaddr FAR *) &req_sin,(int FAR *)&req_sin_len);
if (acsock < 0)
{
MessageBox(