[fix]修正UdpServer在接收广播时连续启动接收的错误,在StarAgent中,此时可能收到广播包,SocketFlags是Broadcast,需要清空,否则报错“参考的对象类型不支持尝试的操作”; 无需设置SocketOptionName.PacketInformation,在ReceiveMessageFromAsync时会自动设置,并且支持ipv6;
石头 编写于 2024-10-10 00:36:00 石头 提交于 2024-10-10 00:45:43
X
{
  "Url": "https://newlifex.com/",
  "Title": "本地标题",
  "ConnectionStrings": {
    "MySQL.AppSettings": {
      "connectionString": /*中间注释*/ "Server=.;Port=3306;Database=mysql;Uid=MySQL.default;Pwd=;",
      "providerName": "MySql.Data.MySqlClient"
      // 不支持放在最后的注释,链接中的双斜杠被当成注释
      // 独立一行注释
    },
    "sqlserver": {
      "connectionString": "Server=127.0.0.1;Database=Membership;Uid=root;Pwd=root;",
      "providerName": "SqlServer"
    },
    "MySQL.AppSettings.default": {
      /*"connectionString": "Server=.;Port=3306;Database=mysql;Uid=MySQL.default;Pwd=;",*/
      /*"providerName": "MySql.Data.MySqlClient"*/
    },
    "TDengine": {
      "connectionString": "Server=gz01.newlifex.com;Port=6030;Database=db;user=root;password=taosdata",
      "providerName": "TDengine"
    }
  }
}