急 SOCKET编程
											我是新手   请高手门多多指点    帮我看看是那出错了 急
我用SOCKET来接收一些参数  在我建的对话框里声明了一个函数 但点击 CLASS列中这一函数时 系统提示"cannot  find  the definition(implementating) of this function"  有如下代码:
  class CJiesouduihuakuangDlg : public CDialog
{
// Construction
public:
    CJiesouduihuakuangDlg(CWnd* pParent = NULL);    // standard constructor
    struct yuan
    {double  x;
     double  y;
     double  r;
     double  color;
    }*p,*buff;
    CSocket  cjssocket;
    void  jiesou(LPVOID buff1);  这里是我对这一函数的声明
然后我在CJiesouduihuakuangDlg .CPP里加入他的代码:
void  jiesou(LPVOID buff1)
{ 
    cjssocket.creat(3550,SOCK_DGRAM);
    cjssocket.Receive(buff,sizeof(yuan),0);
    m_X=buff->x;
    m_Y=buff->y;
    m_R=buff->r;
    m_COLOR=buff->color;
}

 
											





 
	     
											

