新增TCP扩展
This commit is contained in:
1 parent
514d6f5255
commit
f119665d29
26 files changed
+2457
-34
No files matched your search
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Net.Sockets;
|
||||
|
||||
namespace HHWMS.Web
|
||||
{
|
||||
public sealed class MySocketAsyncEventArgs : SocketAsyncEventArgs
|
||||
{
|
||||
private string Property; //读写类型
|
||||
|
||||
/// <summary>
|
||||
/// 构造方法
|
||||
/// </summary>
|
||||
/// <param name="property">读写操作类型:Receive/Send</param>
|
||||
public MySocketAsyncEventArgs(string property)
|
||||
{
|
||||
this.Property = property;
|
||||
}
|
||||
/// <summary>
|
||||
/// 用户标识
|
||||
/// </summary>
|
||||
public string UID { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user