日期:2014-05-17 浏览次数:21142 次
class CSocket : Socket
{
private DateTime m_DateTime;
public CSocket(SocketInformation socketInformation,DateTime dt):base(socketInformation)
{ m_DateTime = dt; }
public CSocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, DateTime dt)
: base(addressFamily, socketType, protocolType)
{
m_DateTime = dt;
}
public DateTime CreateDate { get {return m_DateTime; } }
}
class CSocket
{
....
public Socket A_Socket { get;private set; }
public DateTime A_Datatime { get;private set; }
}