Socket类设计
属性内容
/// socket句柄 int m_sock; /// 协议簇 int m_family; /// 类型 int m_type; /// 协议 int m_protocol; /// 是否连接 bool m_isConnected; /// 本地地址 Address::ptr m_localAddress; /// 远端地址 Address::ptr m_remoteAddress;
/// socket句柄 int m_sock; /// 协议簇 int m_family; /// 类型 int m_type; /// 协议 int m_protocol; /// 是否连接 bool m_isConnected; /// 本地地址 Address::ptr m_localAddress; /// 远端地址 Address::ptr m_remoteAddress;