原文網址: http://www.cnblogs.com/csdev
Networkcomms 是一款C# 語言編寫的TCP/UDP通訊框架 作者是英國人 以前是收費的 目前作者已經開源 許可是:Apache License v2
開源地址是:https://github.com/MarcFletcher/NetworkComms.Net
public enum ConnectionState { /// <summary> /// The state of this connection is undefined. This is the starting state of new connections. /// 未定義 初始狀態 /// </summary> Undefined, /// <summary> /// The connection is in the process of being established/initialised. /// 建立中 /// </summary> Establishing, /// <summary> /// The connection has been successfully established. /// 建立完成 /// </summary> Established, /// <summary> /// The connection has been shutdown. /// 關閉 /// </summary> Shutdown }
這各類是個列舉類,用來判定連線的狀態