Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Artist committed Aug 21, 2022
1 parent ebde84a commit 2efebb3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
1 change: 1 addition & 0 deletions .hgtags
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ f150e831c44117ebfab063a8121a97f8efc667ee V-03-00-01
9979bdac13a88cd8ed67ab56f793deac9a3b4768 V-05-00-00
3b5b83a1e4e210ab9d22d8e6b2af5ff1fe8c3b6b V-05-00-01
365bb963a44c414ee88d1b436f8098572441e91d V-05-00-02
51cb3e91355d1f808315600566987a205dfc8c30 V-05-01-00
31 changes: 26 additions & 5 deletions CodeArtEng.Tcp/CodeArtEng.Tcp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,45 @@
<Authors>Code Artist</Authors>
<Company>Code Art Engineering</Company>
<Description>TCP Server and Client. TCP App Server and Client.
Support .NET Framework 4.5, .NET 5.0 and .NET 6.0 (Preview)</Description>
Support .NET Framework 4.8, .NET 6.0</Description>
<Copyright>Copyright © Code Art Engineering 2021</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>CAELogoSmall.png</PackageIcon>
<RepositoryUrl>https://github.com/Code-Artist/CodeArtEng.Tcp</RepositoryUrl>
<RepositoryType>GitHub</RepositoryType>
<PackageReleaseNotes>Support .NET 5.0 and .NET 6.0 (Preview), separated WinForms components to CodeArtEng.Tcp.Winforms</PackageReleaseNotes>
<Version>5.0.2</Version>
<PackageReleaseNotes></PackageReleaseNotes>
<Version>5.1.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/Code-Artist/CodeArtEng.Tcp</PackageProjectUrl>
<AssemblyVersion>5.0.2.0</AssemblyVersion>
<FileVersion>5.0.2.0</FileVersion>
<AssemblyVersion></AssemblyVersion>
<FileVersion></FileVersion>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net452|AnyCPU'">
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net48|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605</WarningsAsErrors>
<NoWarn>1701;1702</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net48|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605</WarningsAsErrors>
<NoWarn>1701;1702</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605</WarningsAsErrors>
<NoWarn>1701;1702</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningsAsErrors>$(WarningsAsErrors);NU1605</WarningsAsErrors>
<NoWarn>1701;1702</NoWarn>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions CodeArtEng.Tcp/TcpServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ public class TcpServer : IDisposable
/// Default value is 100ms
/// </summary>
public int InterMessageTimeout { get; set; } = 100;
/// <summary>
/// Message receive mode. See <see cref="TcpServerMessageEndMode"/>
/// </summary>
public TcpServerMessageEndMode MessageReceivedEndMode { get; set; } = TcpServerMessageEndMode.Delimiter;

private readonly List<TcpServerConnection> ActiveConnections = new List<TcpServerConnection>();
Expand Down

0 comments on commit 2efebb3

Please sign in to comment.