文件名称:简单的Socket编程实例

  • 所属分类:
  • C#编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2011-03-07
  • 文件大小:
  • 116.61kb
  • 下载次数:
  • 1次
  • 提 供 者:
  • boylxz@163.com
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

开发工具:Visual Studio 2005 本程序演示了Socket通信的基本原理,非常适合初学者。程序分为两部分:服务器端与客户端,实际上客户端也可以充当服务器端,本程序两端的区别在于服务器端要发送数据必须要有客户端的连接作为基础,而客户端没有此限制。希望本示例能够给大家学习SOCKET带来帮助。 注意事项: 1.运行程序之前请先设定好服务器端的IP地址,在客户端程序中的设置-》服务器IP设置,可更改为具体服务器的IP地址,否则程序将不能正常运行 2.运行服务器端程序,运行后服务器端会自动以本地的IP地址与预设的端口号开启监听。本程序可以在局域网中实现简单的通信,但是只能向服务器发送数据,然后服务器向指定的客户端发送数据。大家可以在此基础上对程序进行更改,让局域网上的每个用户都可以聊天。 3.本程序为作者原创,转发请注明出处。
(系统自动生成,下载前可以参看下载内容)

下载文件列表

压缩包 : SocketCommunication.rar 列表
SocketCommunication\52netweb.jpg
SocketCommunication\52Netweb源码必读.txt
SocketCommunication\ClientSocket\ClientSocket\app.config
SocketCommunication\ClientSocket\ClientSocket\bin\Debug\ClientSocketForms.exe
SocketCommunication\ClientSocket\ClientSocket\bin\Debug\ClientSocketForms.exe.config
SocketCommunication\ClientSocket\ClientSocket\bin\Debug\ClientSocketForms.pdb
SocketCommunication\ClientSocket\ClientSocket\bin\Debug\ClientSocketForms.vshost.exe
SocketCommunication\ClientSocket\ClientSocket\bin\Debug\ClientSocketForms.vshost.exe.config
SocketCommunication\ClientSocket\ClientSocket\ClientSocketForms.csproj
SocketCommunication\ClientSocket\ClientSocket\ClientSocketTestForm.cs
SocketCommunication\ClientSocket\ClientSocket\ClientSocketTestForm.Designer.cs
SocketCommunication\ClientSocket\ClientSocket\ClientSocketTestForm.resx
SocketCommunication\ClientSocket\ClientSocket\obj\ClientSocketForms.csproj.FileListAbsolute.txt
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\ClientSocketForms.ClientSocketTestForm.resources
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\ClientSocketForms.csproj.GenerateResource.Cache
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\ClientSocketForms.exe
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\ClientSocketForms.pdb
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\ClientSocketForms.Properties.Resources.resources
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\ClientSocketForms.ServerIPForm.resources
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
SocketCommunication\ClientSocket\ClientSocket\Program.cs
SocketCommunication\ClientSocket\ClientSocket\Properties\AssemblyInfo.cs
SocketCommunication\ClientSocket\ClientSocket\Properties\Resources.Designer.cs
SocketCommunication\ClientSocket\ClientSocket\Properties\Resources.resx
SocketCommunication\ClientSocket\ClientSocket\Properties\Settings.Designer.cs
SocketCommunication\ClientSocket\ClientSocket\Properties\Settings.settings
SocketCommunication\ClientSocket\ClientSocket\ServerIPForm.cs
SocketCommunication\ClientSocket\ClientSocket\ServerIPForm.Designer.cs
SocketCommunication\ClientSocket\ClientSocket\ServerIPForm.resx
SocketCommunication\ClientSocket\ClientSocket.sln
SocketCommunication\ClientSocket\ClientSocket.suo
SocketCommunication\Readme.txt
SocketCommunication\ServerSocket\ServerSocket.sln
SocketCommunication\ServerSocket\ServerSocket.suo
SocketCommunication\ServerSocket\ServerSocketForms\bin\Debug\ServerSocketForms.exe
SocketCommunication\ServerSocket\ServerSocketForms\bin\Debug\ServerSocketForms.pdb
SocketCommunication\ServerSocket\ServerSocketForms\bin\Debug\ServerSocketForms.vshost.exe
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug\ServerSocketForms.csproj.GenerateResource.Cache
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug\ServerSocketForms.exe
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug\ServerSocketForms.pdb
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug\ServerSocketForms.Properties.Resources.resources
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug\ServerSocketForms.ServerSocketTestForm.resources
SocketCommunication\ServerSocket\ServerSocketForms\obj\ServerSocketForms.csproj.FileListAbsolute.txt
SocketCommunication\ServerSocket\ServerSocketForms\Program.cs
SocketCommunication\ServerSocket\ServerSocketForms\Properties\AssemblyInfo.cs
SocketCommunication\ServerSocket\ServerSocketForms\Properties\Resources.Designer.cs
SocketCommunication\ServerSocket\ServerSocketForms\Properties\Resources.resx
SocketCommunication\ServerSocket\ServerSocketForms\Properties\Settings.Designer.cs
SocketCommunication\ServerSocket\ServerSocketForms\Properties\Settings.settings
SocketCommunication\ServerSocket\ServerSocketForms\ServerSocketForms.csproj
SocketCommunication\ServerSocket\ServerSocketForms\ServerSocketTestForm.cs
SocketCommunication\ServerSocket\ServerSocketForms\ServerSocketTestForm.Designer.cs
SocketCommunication\ServerSocket\ServerSocketForms\ServerSocketTestForm.resx
SocketCommunication\最新.Net源码下载,专业的.Net建站平台!.url
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\Refactor
SocketCommunication\ClientSocket\ClientSocket\obj\Debug\TempPE
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug\Refactor
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug\TempPE
SocketCommunication\ClientSocket\ClientSocket\bin\Debug
SocketCommunication\ClientSocket\ClientSocket\obj\Debug
SocketCommunication\ServerSocket\ServerSocketForms\bin\Debug
SocketCommunication\ServerSocket\ServerSocketForms\obj\Debug
SocketCommunication\ClientSocket\ClientSocket\bin
SocketCommunication\ClientSocket\ClientSocket\obj
SocketCommunication\ClientSocket\ClientSocket\Properties
SocketCommunication\ServerSocket\ServerSocketForms\bin
SocketCommunication\ServerSocket\ServerSocketForms\obj
SocketCommunication\ServerSocket\ServerSocketForms\Properties
SocketCommunication\ClientSocket\ClientSocket
SocketCommunication\ServerSocket\ServerSocketForms
SocketCommunication\ClientSocket
Sock

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org