资源简介
本人通过网络搜索,搜索到的一个感觉蛮不错的socket通讯demo示例。希望对想学习C#网络编程的朋友有所帮助!
对于想开发网络通讯程序的朋友具有不错的参考价值!
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Text;
using SocketServerLib.Client;
using SocketServerLib.SocketHandler;
namespace AsyncClientServerLib.Client
{
///
/// Basic Socket Client. Implements the AbstractSocketClient. The socket client handler class is AsyncSocketClientHandlerReceieveQueue.
///
public class BasicSocketClient : AbstractSocketClient
{
///
/// Return a BasicSocketClientHandler instance.
///
/// The client socket handler
/// The ssl stream
/// The send timeout
/// The socket timeout
/// The BasicSocketClientHandler instance created
protected override AbstractTcpSocketClientHandler GetHandler(System.Net.Sockets.Socket handler System.Net.Security.SslStream stream)
{
return new AsyncClientServerLib.SocketHandler.AsyncSocketClientHandlerReceiveQueue(handler stream);
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\
文件 2726 2015-01-08 13:34 SocketServer V4 dotnet 2.0\AsyncClientServerLib\AsyncClientServerLib.csproj
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Debug\
文件 7680 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Debug\AsyncClientServerLib.dll
文件 28160 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Debug\AsyncClientServerLib.pdb
文件 7168 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Debug\MultiThreadQueueLib.dll
文件 22016 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Debug\MultiThreadQueueLib.pdb
文件 33280 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Debug\SocketServerLib.dll
文件 99840 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Debug\SocketServerLib.pdb
目录 0 2013-03-24 00:20 SocketServer V4 dotnet 2.0\AsyncClientServerLib\bin\Release\
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Client\
文件 1171 2015-01-08 13:57 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Client\BasicSocketClient.cs
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Message\
文件 7259 2015-01-08 13:57 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Message\BasicHeader.cs
文件 1313 2015-01-08 13:57 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Message\BasicMessage.cs
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\Debug\
文件 3420 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\Debug\AsyncClientServerLib.csproj.FileListAbsolute.txt
文件 7457 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\Debug\AsyncClientServerLib.csprojResolveAssemblyReference.cache
文件 7680 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\Debug\AsyncClientServerLib.dll
文件 28160 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\Debug\AsyncClientServerLib.pdb
文件 5241 2015-01-08 13:58 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
目录 0 2013-03-24 00:20 SocketServer V4 dotnet 2.0\AsyncClientServerLib\obj\Debug\TempPE\
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Properties\
文件 1452 2013-03-24 00:20 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Properties\AssemblyInfo.cs
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Server\
文件 1133 2015-01-08 13:57 SocketServer V4 dotnet 2.0\AsyncClientServerLib\Server\BasicSocketServer.cs
目录 0 2015-01-14 12:07 SocketServer V4 dotnet 2.0\AsyncClientServerLib\SocketHandler\
文件 1485 2015-01-08 13:57 SocketServer V4 dotnet 2.0\AsyncClientServerLib\SocketHandler\AsyncSocketClientHandler.cs
文件 1519 2015-01-08 13:57 SocketServer V4 dotnet 2.0\AsyncClientServerLib\SocketHandler\AsyncSocketClientHandlerReceiveQueue.cs
............此处省略216个文件信息
- 上一篇:C#Socket编程.rar
- 下一篇:C#实现对Oracle数据库的增删改查
相关资源
- C#实现对Oracle数据库的增删改查
- C#Socket编程.rar
- C# 绘图 矩形 椭圆 直线 曲线 带控制点
- C#_winform_多个窗体之间相互传递数据操
- C#_winform_DataGridView_checkbox复选框_实现
- C#上的echarts的
- C#实时检测USB设备的插拔并响应各个事
- C#围棋程序
- C#数据表格控件的应用数据库插入删除
- asp.net留言簿实验报告
- c#控制Visio画图
- C# 写的哈夫曼编码译码图形界面
- asp.net网站注册登录功能源码基于C#
- wpf 漂亮Treeview
- asp.net实现的网络教学平台源代码+数据
- c#对图像实现高斯滤波带阻滤波源码
- (源代码)C# Socket服务器和Tcp客户端
- C#图像分割
- 基于C#语言的导线测量程序(对话框)
- C#客户管理源代码
- c#串口通讯log存储及实时波形绘制代码
- Halcon生成的计算圆心C#代码
- C#局域网语音聊天点对点
- asp.net中用C#写的在线考试系统
- C# CRC 循环冗余校验算法
- C#网上招聘系统 源码
- CLR via C# 最新 中文完整版 高清
- C# 打印设置小票打印收银打印
- .net c# 考试系统
- 生产管理系统 (VS2008 C# winform )
评论
共有 条评论