Skip to content

Commit 9861200

Browse files
authored
Miscellaneous fixes (#3)
1 parent a5c8754 commit 9861200

File tree

8 files changed

+22
-31
lines changed

8 files changed

+22
-31
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
2-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Net.Sockets.TcpClient&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_System.Net.Sockets.TcpClient) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Net.Sockets.TcpClient&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_System.Net.Sockets.TcpClient) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Net.Sockets.TcpClient.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net.Sockets.TcpClient/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
1+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Net.Sockets.TcpClient&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_System.Net.Sockets.TcpClient) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_System.Net.Sockets.TcpClient&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_System.Net.Sockets.TcpClient) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.System.Net.Sockets.TcpClient.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.System.Net.Sockets.TcpClient/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
32

43
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
54

65
-----
76

8-
# System.Net.Sockets.TcpClient
7+
# Welcome to the .NET **nanoFramework** System.Net.Sockets.TcpClient
98

109
This API implements the TcpListener and TcpClient classes with a pattern similar to the official .NET equivalent. [System.NET.Sockets.TcpClient](https://docs.microsoft.com/en-us/dotnet/api/system.net.sockets.TcpClient).
1110

1211
These are wrapper classes for the Socket when using TCP connections.
1312
The nanoframework implementation of TcpClient doesn't include the asynchronous methods and the Connected property.
1413

15-
1614
## Build status
1715

1816
| Component | Build Status | NuGet Package |
@@ -200,4 +198,4 @@ For more information see the [.NET Foundation Code of Conduct](https://dotnetfou
200198

201199
### .NET Foundation
202200

203-
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).
201+
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).

assets/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
===================================================================================
88

9-
API docs: https://docs.nanoframework.net/api/nanoFramework.System.Net.html
9+
API docs: https://docs.nanoframework.net/api/System.Net.Sockets.TcpClient.html
1010

1111
Browse our samples repository: https://github.com/nanoframework/samples
1212

nanoframework.System.Net.Sockets.TcpClient.DELIVERABLES.nuspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
<id>nanoFramework.System.Net.Sockets.TcpClient.DELIVERABLES</id>
55
<version>$version$</version>
66
<title>nanoFramework.System.Net.Sockets.TcpClient.DELIVERABLES</title>
7-
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework,dotnetfoundation</owners>
7+
<authors>nanoframework</authors>
98
<requireLicenseAcceptance>false</requireLicenseAcceptance>
109
<license type="file">LICENSE.md</license>
1110
<releaseNotes>
@@ -15,7 +14,7 @@
1514
<iconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</iconUrl>
1615
<icon>images\nf-logo.png</icon>
1716
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
18-
<description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the System.Net assembly for .NET nanoFramework. These are for testing purposes and for updating the native code base of the library.</description>
17+
<description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the System.Net.Sockets.TcpClient assembly for .NET nanoFramework. These are for testing purposes and for updating the native code base of the library.</description>
1918
<summary>nanoFramework.System.Net.Sockets.TcpClient.DELIVERABLES is not meant for development.</summary>
2019
<tags>
2120
</tags>

nanoframework.System.Net.Sockets.TcpClient.nuspec

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
<metadata>
44
<id>nanoframework.System.Net.Sockets.TcpClient</id>
55
<version>$version$</version>
6-
<title>nanoframework.System.Net.Sockets.TcpClient</title>
7-
<authors>nanoFramework project contributors</authors>
8-
<owners>nanoFramework,dotnetfoundation</owners>
6+
<title>nanoFramework.System.Net.Sockets.TcpClient</title>
7+
<authors>nanoframework</authors>
98
<requireLicenseAcceptance>false</requireLicenseAcceptance>
109
<license type="file">LICENSE.md</license>
1110
<releaseNotes>
@@ -16,11 +15,8 @@
1615
<icon>images\nf-logo.png</icon>
1716
<repository type="git" url="https://github.com/nanoframework/System.Net.Sockets.TcpClient" commit="$commit$" />
1817
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
19-
<description>
20-
This package includes the .NET nanoFramework System.Net assembly for .NET nanoFramework C# projects.
21-
This package requires a target with System.Net v$nativeVersion$ (checksum $checksum$).
22-
</description>
23-
<tags>nanoFramework C# csharp netmf netnf nanoFramework.System.Net</tags>
18+
<description>This package includes the System.Net.Sockets.TcpClient assembly for .NET nanoFramework C# projects.</description>
19+
<tags>nanoFramework C# csharp netmf netnf tcpclient networking</tags>
2420
<dependencies>
2521
<dependency id="nanoFramework.CoreLibrary" version="1.12.0-preview.9" />
2622
<dependency id="nanoFramework.Runtime.Events" version="1.10.0-preview.8" />
@@ -31,11 +27,11 @@
3127
</dependencies>
3228
</metadata>
3329
<files>
34-
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.dll" target="lib\System.Net.Sockets.TcpClient.dll" />
35-
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.pdb" target="lib\System.Net.Sockets.TcpClient.pdb" />
36-
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.pdbx" target="lib\System.Net.Sockets.TcpClient.pdbx" />
37-
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.pe" target="lib\System.Net.Sockets.TcpClient.pe" />
38-
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.xml" target="lib\System.Net.Sockets.TcpClient.xml" />
30+
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.Sockets.TcpClient.dll" target="lib\System.Net.Sockets.TcpClient.dll" />
31+
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.Sockets.TcpClient.pdb" target="lib\System.Net.Sockets.TcpClient.pdb" />
32+
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.Sockets.TcpClient.pdbx" target="lib\System.Net.Sockets.TcpClient.pdbx" />
33+
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.Sockets.TcpClient.pe" target="lib\System.Net.Sockets.TcpClient.pe" />
34+
<file src="nanoFramework.System.Net.Sockets.TcpClient\bin\Release\System.Net.Sockets.TcpClient.xml" target="lib\System.Net.Sockets.TcpClient.xml" />
3935
<file src="assets\readme.txt" target="" />
4036
<file src="README.md" target="docs\" />
4137
<file src="assets\nf-logo.png" target="images" />

nanoframework.System.Net.Sockets.TcpClient.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.32002.261
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.1.32210.238
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "nanoframework.System.Net.Sockets.TcpClient", "nanoframework.System.Net.Sockets.TcpClient\nanoframework.System.Net.Sockets.TcpClient.nfproj", "{1D0F04E3-6AB6-4DE0-88D0-5E30F6F5719B}"
77
EndProject

nanoframework.System.Net.Sockets.TcpClient/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
[assembly: AssemblyProduct("System.Net")]
1111
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")]
1212

13-
////////////////////////////////////////////////////////////////
14-
// update this whenever the native assembly signature changes //
15-
[assembly: AssemblyNativeVersion("100.1.0.0")]
16-
////////////////////////////////////////////////////////////////
17-
1813
// Setting ComVisible to false makes the types in this assembly not visible
1914
// to COM components. If you need to access a type in this assembly from
2015
// COM, set the ComVisible attribute to true on that type.

nanoframework.System.Net.Sockets.TcpClient/Sockets/TcpClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ private void initialize()
383383
_active = false;
384384
}
385385

386+
/// <inheritdoc/>
386387
protected virtual void Dispose(bool disposing)
387388
{
388389
if (!_disposed)

nanoframework.System.Net.Sockets.TcpClient/nanoframework.System.Net.Sockets.TcpClient.nfproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
<OutputType>Library</OutputType>
1313
<AppDesignerFolder>Properties</AppDesignerFolder>
1414
<FileAlignment>512</FileAlignment>
15-
<RootNamespace>nanoframework.System.Net.Sockets.TcpClient</RootNamespace>
16-
<AssemblyName>nanoframework.System.Net.Sockets.TcpClient</AssemblyName>
15+
<RootNamespace>System.Net.Sockets.TcpClient</RootNamespace>
16+
<AssemblyName>System.Net.Sockets.TcpClient</AssemblyName>
1717
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
18+
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
19+
<DocumentationFile>bin\$(Configuration)\System.Net.Sockets.TcpClient.xml</DocumentationFile>
1820
</PropertyGroup>
1921
<PropertyGroup>
2022
<SignAssembly>true</SignAssembly>

0 commit comments

Comments
 (0)