// mainview.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMainView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CMainView : public CFormView
{
  DECLARE_DYNCREATE(CMainView)

public:
  SOCKET m_s;           // socket to receive from
  SOCKADDR_IN m_addr;   // address of socket

protected:
  CMainView();      // protected constructor used by dynamic creation

// Form Data
public:
  //{{AFX_DATA(CMainView)
  enum { IDD = IDD_DIALOG_MAIN };
    // NOTE: the ClassWizard will add data members here
  //}}AFX_DATA

// Attributes
public:

// Operations
public:

// Implementation
protected:
  virtual ~CMainView();
  virtual void DoDataExchange(CDataExchange* pDX);  // DDX/DDV support
  virtual void OnInitialUpdate();
  // Generated message map functions
  //{{AFX_MSG(CMainView)
  afx_msg LONG OnAsyncSelect(WPARAM wParam, LPARAM lParam);
  //}}AFX_MSG
  DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

#define WM_USER_ASYNC_SELECT (WM_USER + 1)
