资 源 简 介
MFC实现简单网络聊天程序,利用Visual C++中MFC实现的网络socket程序,简单实现了网络聊天的功能。程序中有服务器程序和客户端程序。很好的学习资源。了SDcksoce类型确定G落户端服务器名称职消C服务器端端口号连接关闭消息发送发送接收soCksket类型确定C客尸端服务器名称「职消眼多器端端口号监听关闭单自发送发送接收新建类回网类的类型: MFC Class确定- class information取消NatMyocetFile nMySocket. cppChange.Base class:CAsyncSocketDialog IDThe base class does not require a dialog resource.AutomatioC Nonf Automationc Createable ty tyne inr MySockiMy SocketThe base class does not support automation.= ER MySack classes中 CAboutDlgpublic:+t ChySockADDf uperation官 CMySockDlgpubliCMuLSockett口 GlobalsGo to definitionAdd Memk点 ad Member variab1e点 ud VE Ludt futchAdd Windows Message Handler套 Referencesd classesBase Classe式 dd to ga11C Hey Folder,ap by Accessy Docking ViewHi deropertCass.JRes0…目Fle.A/AFX INSEHew virtual Override for class IySocketNew virtual FunctionsExisting virtual function overrides确定OnAcceptOnclose取消CoNnectOnOutof BanddataAdd HandlerOnReceiveOnsenAdd and editReceiveSendEdit ExistingOnAcceptu: Called to notify a sacket that it may call AcceptHey Virtual Override for class sOcketNew Virtual FunctionsExisting virtual function overrides确定OnOutoiBandDataAcCeptReceiveOnclose取消enCoNnectOnReceiveAdd HandlerOnSend and editEdit ExistingOnSendl: Called when the socket can send datasocket类型确定C客户端服务器名称Edt取消广服务器端蒲口号Edit连接关闭消息ditAdd夏 ember Function发送Member function name:OKOn ConnectCancel接收Message: BN_CLICKEDObject ID: IDC BCONNECT=l EP My Sock classesif(nError Cc语 CAboutDigCAsonycSockt CMySockApp"L CMySockDlg+. MySocketGo to Definit自 GlobalsGo To Dialog EditorAdd Member functionAdd Member variableAad Virtual FunctionAdd Windows: Message handleRefeBase classesAdd to Gallery画 Folder甲 by Aceessv Docking ViHi de會 Properties((CHySECAsyncsockCass,°Res0,Fie…添加成品函数配区函数类型m:void确定数描述取消OnAcceptiAccess厂 StaticPublicProtectedPrivate厂rual