在好例子网,分享、交流、成长!
您当前所在位置:首页C/C++ 开发实例C/C++语言基础 → 《精通Windows Sockets网络开发——基于Visual C++实现》源代码

《精通Windows Sockets网络开发——基于Visual C++实现》源代码

C/C++语言基础

下载此实例
  • 开发语言:C/C++
  • 实例大小:12.92M
  • 下载次数:4
  • 浏览次数:10
  • 发布时间:2023-11-03
  • 实例类别:C/C++语言基础
  • 发 布 人:chenxiaolan
  • 文件格式:.rar
  • 所需积分:2
 相关标签: Visual C++ windows Sockets Socket window

实例介绍

【实例简介】《精通Windows Sockets网络开发——基于Visual C 实现》源代码,socket网络开发的各种技巧、模式,结合了多线程同步,非常实用。

【实例截图】

from clipboard

【核心代码】

.
├── 17911
│   ├── 03
│   │   ├── 3.5
│   │   │   └── TCP
│   │   │       ├── Client
│   │   │       │   ├── Client.cpp
│   │   │       │   ├── Client.dsp
│   │   │       │   ├── Client.ncb
│   │   │       │   ├── Client.sln
│   │   │       │   ├── Client.suo
│   │   │       │   ├── Client.vcproj
│   │   │       │   ├── Client.vcproj.JinyuNB.Jinyu.user
│   │   │       │   ├── Debug
│   │   │       │   │   ├── BuildLog.htm
│   │   │       │   │   ├── Client.exe
│   │   │       │   │   ├── Client.exe.embed.manifest
│   │   │       │   │   ├── Client.exe.embed.manifest.res
│   │   │       │   │   ├── Client.exe.intermediate.manifest
│   │   │       │   │   ├── Client.ilk
│   │   │       │   │   ├── Client.obj
│   │   │       │   │   ├── Client.pch
│   │   │       │   │   ├── Client.pdb
│   │   │       │   │   ├── StdAfx.obj
│   │   │       │   │   ├── mt.dep
│   │   │       │   │   ├── vc90.idb
│   │   │       │   │   └── vc90.pdb
│   │   │       │   ├── StdAfx.cpp
│   │   │       │   └── StdAfx.h
│   │   │       └── Server
│   │   │           ├── Debug
│   │   │           │   ├── BuildLog.htm
│   │   │           │   ├── Server.exe
│   │   │           │   ├── Server.exe.embed.manifest
│   │   │           │   ├── Server.exe.embed.manifest.res
│   │   │           │   ├── Server.exe.intermediate.manifest
│   │   │           │   ├── Server.ilk
│   │   │           │   ├── Server.obj
│   │   │           │   ├── Server.pch
│   │   │           │   ├── Server.pdb
│   │   │           │   ├── StdAfx.obj
│   │   │           │   ├── mt.dep
│   │   │           │   ├── vc90.idb
│   │   │           │   └── vc90.pdb
│   │   │           ├── Server.cpp
│   │   │           ├── Server.dsp
│   │   │           ├── Server.dsw
│   │   │           ├── Server.ncb
│   │   │           ├── Server.sln
│   │   │           ├── Server.suo
│   │   │           ├── Server.vcproj
│   │   │           ├── Server.vcproj.JinyuNB.Jinyu.user
│   │   │           ├── StdAfx.cpp
│   │   │           └── StdAfx.h
│   │   └── 3.7
│   │       └── UDP
│   │           ├── Client
│   │           │   ├── Client.cpp
│   │           │   ├── Client.dsp
│   │           │   ├── Client.ncb
│   │           │   ├── Client.sln
│   │           │   ├── Client.suo
│   │           │   ├── Client.vcproj
│   │           │   ├── Client.vcproj.JinyuNB.Jinyu.user
│   │           │   ├── Debug
│   │           │   │   ├── BuildLog.htm
│   │           │   │   ├── Client.exe
│   │           │   │   ├── Client.exe.embed.manifest
│   │           │   │   ├── Client.exe.embed.manifest.res
│   │           │   │   ├── Client.exe.intermediate.manifest
│   │           │   │   ├── Client.ilk
│   │           │   │   ├── Client.obj
│   │           │   │   ├── Client.pch
│   │           │   │   ├── Client.pdb
│   │           │   │   ├── StdAfx.obj
│   │           │   │   ├── mt.dep
│   │           │   │   ├── vc90.idb
│   │           │   │   └── vc90.pdb
│   │           │   ├── StdAfx.cpp
│   │           │   └── StdAfx.h
│   │           ├── Example.cpp
│   │           ├── Example.dsp
│   │           ├── Example.dsw
│   │           ├── Example.positions
│   │           ├── Server
│   │           │   ├── Server.cpp
│   │           │   ├── Server.dsp
│   │           │   ├── Server.dsw
│   │           │   ├── StdAfx.cpp
│   │           │   └── StdAfx.h
│   │           ├── StdAfx.cpp
│   │           └── StdAfx.h
│   ├── 04
│   │   ├── 4.4
│   │   │   └── Server
│   │   │       ├── Desktop_.ini
│   │   │       ├── Server.cpp
│   │   │       ├── Server.dsp
│   │   │       ├── Server.dsw
│   │   │       ├── StdAfx.cpp
│   │   │       └── StdAfx.h
│   │   └── 4.6
│   │       └── Client
│   │           ├── Client.cpp
│   │           ├── Client.dsp
│   │           ├── Client.dsw
│   │           ├── Client.ncb
│   │           ├── Client.sln
│   │           ├── Client.suo
│   │           ├── Client.vcproj
│   │           ├── Client.vcproj.JinyuNB.Jinyu.user
│   │           ├── Debug
│   │           │   ├── BuildLog.htm
│   │           │   ├── Client.bsc
│   │           │   ├── Client.exe
│   │           │   ├── Client.exe.embed.manifest
│   │           │   ├── Client.exe.embed.manifest.res
│   │           │   ├── Client.exe.intermediate.manifest
│   │           │   ├── Client.ilk
│   │           │   ├── Client.obj
│   │           │   ├── Client.pch
│   │           │   ├── Client.pdb
│   │           │   ├── Client.sbr
│   │           │   ├── StdAfx.obj
│   │           │   ├── StdAfx.sbr
│   │           │   ├── mt.dep
│   │           │   ├── vc90.idb
│   │           │   └── vc90.pdb
│   │           ├── StdAfx.cpp
│   │           └── StdAfx.h
│   ├── 05
│   │   ├── 5.3
│   │   │   └── Server
│   │   │       ├── Client.cpp
│   │   │       ├── Client.h
│   │   │       ├── Desktop_.ini
│   │   │       ├── Server.cpp
│   │   │       ├── Server.dsp
│   │   │       ├── Server.dsw
│   │   │       ├── StdAfx.cpp
│   │   │       └── StdAfx.h
│   │   └── 5.5
│   │       └── Client
│   │           ├── Client.cpp
│   │           ├── Client.dsp
│   │           ├── Client.dsw
│   │           ├── Desktop_.ini
│   │           ├── StdAfx.cpp
│   │           └── StdAfx.h
│   ├── 06
│   │   ├── 6.4
│   │   │   └── Server
│   │   │       ├── Client.cpp
│   │   │       ├── Client.h
│   │   │       ├── Server.clw
│   │   │       ├── Server.cpp
│   │   │       ├── Server.dsp
│   │   │       ├── Server.dsw
│   │   │       ├── Server.h
│   │   │       ├── Server.rc
│   │   │       ├── ServerDlg.cpp
│   │   │       ├── ServerDlg.h
│   │   │       ├── StdAfx.cpp
│   │   │       ├── StdAfx.h
│   │   │       ├── res
│   │   │       │   ├── Server.ico
│   │   │       │   ├── Server.rc2
│   │   │       │   └── Thumbs.db
│   │   │       └── resource.h
│   │   └── 6.6
│   │       └── Client
│   │           ├── Client.clw
│   │           ├── Client.cpp
│   │           ├── Client.dsp
│   │           ├── Client.dsw
│   │           ├── Client.h
│   │           ├── Client.rc
│   │           ├── ClientDlg.cpp
│   │           ├── ClientDlg.h
│   │           ├── StdAfx.cpp
│   │           ├── StdAfx.h
│   │           ├── res
│   │           │   ├── Client.ico
│   │           │   └── Client.rc2
│   │           └── resource.h
│   ├── 07
│   │   ├── 7.11
│   │   │   └── Client
│   │   │       ├── ChatDlg.cpp
│   │   │       ├── ChatDlg.h
│   │   │       ├── ChatPacket.cpp
│   │   │       ├── ChatPacket.h
│   │   │       ├── ChatSocket.cpp
│   │   │       ├── ChatSocket.h
│   │   │       ├── Client.aps
│   │   │       ├── Client.clw
│   │   │       ├── Client.cpp
│   │   │       ├── Client.dsp
│   │   │       ├── Client.h
│   │   │       ├── Client.rc
│   │   │       ├── ClientDlg.cpp
│   │   │       ├── ClientDlg.h
│   │   │       ├── ClientLogin.cpp
│   │   │       ├── ClientLogin.h
│   │   │       ├── ListenSocket.cpp
│   │   │       ├── ListenSocket.h
│   │   │       ├── PeerSocket.cpp
│   │   │       ├── PeerSocket.h
│   │   │       ├── StdAfx.cpp
│   │   │       ├── StdAfx.h
│   │   │       ├── UserInfo.cpp
│   │   │       ├── UserInfo.h
│   │   │       ├── res
│   │   │       │   ├── Client.ico
│   │   │       │   ├── Client.rc2
│   │   │       │   ├── Duck.ico
│   │   │       │   └── chatter1.ico
│   │   │       └── resource.h
│   │   └── 7.9
│   │       └── Server
│   │           ├── ChatPacket.cpp
│   │           ├── ChatPacket.h
│   │           ├── ClientSocket.cpp
│   │           ├── ClientSocket.h
│   │           ├── ListenSocket.cpp
│   │           ├── ListenSocket.h
│   │           ├── Server.cpp
│   │           ├── Server.dsp
│   │           ├── Server.dsw
│   │           ├── Server.h
│   │           ├── Server.rc
│   │           ├── ServerAddressDlg.cpp
│   │           ├── ServerAddressDlg.h
│   │           ├── ServerDlg.cpp
│   │           ├── ServerDlg.h
│   │           ├── StdAfx.cpp
│   │           ├── StdAfx.h
│   │           ├── UserInfo.cpp
│   │           ├── UserInfo.h
│   │           ├── res
│   │           │   ├── Duck.ico
│   │           │   ├── Server.ico
│   │           │   ├── Server.rc2
│   │           │   ├── Thumbs.db
│   │           │   └── chatter1.ico
│   │           └── resource.h
│   ├── 08
│   │   ├── 8.10
│   │   │   └── Client
│   │   │       ├── Client.clw
│   │   │       ├── Client.cpp
│   │   │       ├── Client.dsp
│   │   │       ├── Client.dsw
│   │   │       ├── Client.h
│   │   │       ├── Client.rc
│   │   │       ├── ClientDoc.cpp
│   │   │       ├── ClientDoc.h
│   │   │       ├── ClientView.cpp
│   │   │       ├── ClientView.h
│   │   │       ├── LoginDlg.cpp
│   │   │       ├── LoginDlg.h
│   │   │       ├── MainFrm.cpp
│   │   │       ├── MainFrm.h
│   │   │       ├── MySplitterWnd.cpp
│   │   │       ├── MySplitterWnd.h
│   │   │       ├── RenjuSocket.cpp
│   │   │       ├── RenjuSocket.h
│   │   │       ├── ServerSocket.cpp
│   │   │       ├── ServerSocket.h
│   │   │       ├── StdAfx.cpp
│   │   │       ├── StdAfx.h
│   │   │       ├── UserInfo.cpp
│   │   │       ├── UserInfo.h
│   │   │       ├── UserView.cpp
│   │   │       ├── UserView.h
│   │   │       ├── down.wav
│   │   │       ├── res
│   │   │       │   ├── Client.ico
│   │   │       │   ├── Client.rc2
│   │   │       │   ├── ClientDoc.ico
│   │   │       │   ├── Renju.ico
│   │   │       │   ├── Renju.rc2
│   │   │       │   ├── RenjuDoc.ico
│   │   │       │   ├── Thumbs.db
│   │   │       │   ├── bkwood.bmp
│   │   │       │   ├── black.bmp
│   │   │       │   ├── cursor2.cur
│   │   │       │   ├── hnwse.cur
│   │   │       │   ├── icon1.ico
│   │   │       │   ├── icon3.ico
│   │   │       │   ├── mask.bmp
│   │   │       │   └── white.bmp
│   │   │       └── resource.h
│   │   └── 8.8
│   │       └── Server
│   │           ├── ClientSocket.cpp
│   │           ├── ClientSocket.h
│   │           ├── Server.clw
│   │           ├── Server.cpp
│   │           ├── Server.dsp
│   │           ├── Server.dsw
│   │           ├── Server.h
│   │           ├── Server.rc
│   │           ├── ServerAddrDlg.cpp
│   │           ├── ServerAddrDlg.h
│   │           ├── ServerDlg.cpp
│   │           ├── ServerDlg.h
│   │           ├── StdAfx.cpp
│   │           ├── StdAfx.h
│   │           ├── UserInfo.cpp
│   │           ├── UserInfo.h
│   │           ├── res
│   │           │   ├── Duck.ico
│   │           │   ├── Server.ico
│   │           │   ├── Server.rc2
│   │           │   ├── Thumbs.db
│   │           │   ├── chatter1.ico
│   │           │   ├── icon1.ico
│   │           │   ├── icon2.ico
│   │           │   └── icon3.ico
│   │           └── resource.h
│   ├── 09
│   │   ├── 9.11
│   │   │   └── Client
│   │   │       ├── Client.clw
│   │   │       ├── Client.cpp
│   │   │       ├── Client.dsp
│   │   │       ├── Client.dsw
│   │   │       ├── Client.h
│   │   │       ├── Client.rc
│   │   │       ├── ClientDlg.cpp
│   │   │       ├── ClientDlg.h
│   │   │       ├── LookupSocket.cpp
│   │   │       ├── LookupSocket.h
│   │   │       ├── StdAfx.cpp
│   │   │       ├── StdAfx.h
│   │   │       ├── res
│   │   │       │   ├── Client.ico
│   │   │       │   └── Client.rc2
│   │   │       └── resource.h
│   │   └── 9.9
│   │       └── Server
│   │           ├── ClientSocket.cpp
│   │           ├── ClientSocket.h
│   │           ├── Dict.mdb
│   │           ├── EditWordDlg.cpp
│   │           ├── EditWordDlg.h
│   │           ├── MainFrm.cpp
│   │           ├── MainFrm.h
│   │           ├── Server.clw
│   │           ├── Server.cpp
│   │           ├── Server.dsp
│   │           ├── Server.dsw
│   │           ├── Server.h
│   │           ├── Server.rc
│   │           ├── ServerAddrDlg.cpp
│   │           ├── ServerAddrDlg.h
│   │           ├── ServerDoc.cpp
│   │           ├── ServerDoc.h
│   │           ├── ServerView.cpp
│   │           ├── ServerView.h
│   │           ├── StdAfx.cpp
│   │           ├── StdAfx.h
│   │           ├── UnknWordDlg.cpp
│   │           ├── UnknWordDlg.h
│   │           ├── msado15.tlh
│   │           ├── msado15.tli
│   │           ├── res
│   │           │   ├── Server.ico
│   │           │   ├── Server.rc2
│   │           │   ├── ServerDoc.ico
│   │           │   └── Toolbar.bmp
│   │           └── resource.h
│   ├── 10
│   │   ├── 10.6
│   │   │   └── Server
│   │   │       ├── ClientContext.cpp
│   │   │       ├── ClientContext.h
│   │   │       ├── ClientManager.cpp
│   │   │       ├── ClientManager.h
│   │   │       ├── Exam.mdb
│   │   │       ├── MainFrm.cpp
│   │   │       ├── MainFrm.h
│   │   │       ├── Resource.h
│   │   │       ├── Server.aps
│   │   │       ├── Server.clw
│   │   │       ├── Server.cpp
│   │   │       ├── Server.dsp
│   │   │       ├── Server.dsw
│   │   │       ├── Server.h
│   │   │       ├── Server.ncb
│   │   │       ├── Server.rc
│   │   │       ├── Server.suo
│   │   │       ├── ServerAddrDlg.cpp
│   │   │       ├── ServerAddrDlg.h
│   │   │       ├── ServerDoc.cpp
│   │   │       ├── ServerDoc.h
│   │   │       ├── ServerView.cpp
│   │   │       ├── ServerView.h
│   │   │       ├── StdAfx.cpp
│   │   │       ├── StdAfx.h
│   │   │       ├── msado15.tlh
│   │   │       ├── msado15.tli
│   │   │       └── res
│   │   │           ├── Server.ico
│   │   │           ├── Server.rc2
│   │   │           ├── ServerDoc.ico
│   │   │           └── Toolbar.bmp
│   │   └── 10.8
│   │       └── Client
│   │           ├── Client.clw
│   │           ├── Client.cpp
│   │           ├── Client.dsp
│   │           ├── Client.dsw
│   │           ├── Client.h
│   │           ├── Client.rc
│   │           ├── ClientDlg.cpp
│   │           ├── ClientDlg.h
│   │           ├── ClientSocket.cpp
│   │           ├── ClientSocket.h
│   │           ├── Item.cpp
│   │           ├── Item.h
│   │           ├── LoginDlg.cpp
│   │           ├── LoginDlg.h
│   │           ├── StdAfx.cpp
│   │           ├── StdAfx.h
│   │           ├── res
│   │           │   ├── Client.ico
│   │           │   └── Client.rc2
│   │           └── resource.h
│   └── 光盘使用说明.DOC
└── 《精通Windows Sockets网络开发——基于Visual C 实现》源代码_socket.rar

59 directories, 372 files


实例下载地址

《精通Windows Sockets网络开发——基于Visual C++实现》源代码

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警