void CListenSocket::OnReceive(int nErrorCode)
{
    //     
    CStatic* stat = (CStatic*)(m_pDlg->GetDlgItem(IDC_STATIC));
    CStatic* stat_msg = (CStatic*)(m_pDlg->GetDlgItem(IDC_MSG));
    //   
    TCHAR buff[20];
    //    
    Receive(&buff,20);
    //    
    stat->SetWindowText(_T("Message Received..."));
    CString str;
    str.Format("%s",buff);
    //   
    stat_msg->SetWindowText(str);
    //    
    strcpy(buff,"Hello, MIDlet!\0");
    //   
    Send(&buff,15);
}
