我写的一个关于socket的程序出现了这样的错误:term does not evaluate to a function
源代码是:void CTCPDlg::OnSendButton() 
{
    // TODO: Add your control notification handler code here
    UpdateData(TRUE) ;
    CFile file( m_sendPath , CFile::modeRead ) ;
    fileLen = file.GetLength() ;
    packetCount = fileLen / packetLen ;
    if( packetCount*packetLen < fileLen )
        packetCount++ ;
    conSocket = socket( AF_INET , SOCK_STREAM , 0 ) ;
    connect( conSocket , (sockaddr *)&con , sizeof( con ) ) ;
    send( conSocket , start , 2 , 0 ) ;// 这里出错
}
为什么调用send会出错呢?程序中所有调用send的都抱错,但是调用recv,listen,accept,bind这些函数都不回抱错,我实在不知道该怎么解决了,各位帮帮忙啊,谢谢了