oo-70-245-1

oo-70-245-1 Commit Details


Date:2019-10-09 19:10:45 (5 years 6 months ago)
Author:Natalie Adams
Branch:master
Commit:6db9c42a2f5cb4076c7ae72a0b08c156ae506b5b
Parents: d6b38a9b4b710a778d408d7b6e9f133719a6b751
Message:adding examples

Changes:

File differences

Class Examples/tcpClient/tcpClient.sln
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2042
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tcpClient", "tcpClient\tcpClient.csproj", "{CF1C7E4C-7AE2-450B-9D91-83E4385BAB05}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CF1C7E4C-7AE2-450B-9D91-83E4385BAB05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CF1C7E4C-7AE2-450B-9D91-83E4385BAB05}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CF1C7E4C-7AE2-450B-9D91-83E4385BAB05}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CF1C7E4C-7AE2-450B-9D91-83E4385BAB05}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3D22DFE5-33F6-45C3-A787-822F1F2E180C}
EndGlobalSection
EndGlobal
Class Examples/tcpClient/tcpClient/App.config
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
    </startup>
</configuration>
Class Examples/tcpClient/tcpClient/Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace tcpClient
{
    class Program
    {
        static void ReadData(object socket)
        {
            TcpClient client = (TcpClient)socket;
            while (true)
            {
                byte[] buffer = new byte[1024];
                int k = client.GetStream().Read(buffer, 0, buffer.Length);
                Console.WriteLine("Received from server {0}", Encoding.ASCII.GetString(buffer, 0, k));
            }
        }
        static void Main(string[] args)
        {
            TcpClient client = new TcpClient();
            client.Connect(IPAddress.Loopback, 5000);
            Thread t = new Thread(ReadData);
            t.Start(client);
            while (true)
            {
                Console.WriteLine("Please input a string to send");
                string input = Console.ReadLine();
                byte[] msg = Encoding.ASCII.GetBytes(input);
                client.GetStream().Write(msg, 0, msg.Length);
            }
        }
    }
}
Class Examples/tcpClient/tcpClient/Properties/AssemblyInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("tcpClient")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("tcpClient")]
[assembly: AssemblyCopyright("Copyright ©  2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components.  If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("cf1c7e4c-7ae2-450b-9d91-83e4385bab05")]
// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Class Examples/tcpClient/tcpClient/bin/Debug/tcpClient.exe.config
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
    </startup>
</configuration>
Class Examples/tcpClient/tcpClient/obj/Debug/tcpClient.csproj.CoreCompileInputs.cache
1
c321ffaed7fbac401adb57c7786a8739651417cc
Class Examples/tcpClient/tcpClient/obj/Debug/tcpClient.csproj.FileListAbsolute.txt
1
2
3
4
5
6
7
c:\users\cod_user\source\repos\tcpClient\tcpClient\bin\Debug\tcpClient.exe.config
c:\users\cod_user\source\repos\tcpClient\tcpClient\bin\Debug\tcpClient.exe
c:\users\cod_user\source\repos\tcpClient\tcpClient\bin\Debug\tcpClient.pdb
c:\users\cod_user\source\repos\tcpClient\tcpClient\obj\Debug\tcpClient.csprojAssemblyReference.cache
c:\users\cod_user\source\repos\tcpClient\tcpClient\obj\Debug\tcpClient.csproj.CoreCompileInputs.cache
c:\users\cod_user\source\repos\tcpClient\tcpClient\obj\Debug\tcpClient.exe
c:\users\cod_user\source\repos\tcpClient\tcpClient\obj\Debug\tcpClient.pdb
Class Examples/tcpClient/tcpClient/tcpClient.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{CF1C7E4C-7AE2-450B-9D91-83E4385BAB05}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>tcpClient</RootNamespace>
    <AssemblyName>tcpClient</AssemblyName>
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Class Examples/tcpMultiConnections/tcpMultiConnections.sln
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2042
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tcpMultiConnections", "tcpMultiConnections\tcpMultiConnections.csproj", "{D3074096-207B-407E-9E7C-A042DE604D2C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D3074096-207B-407E-9E7C-A042DE604D2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D3074096-207B-407E-9E7C-A042DE604D2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D3074096-207B-407E-9E7C-A042DE604D2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3074096-207B-407E-9E7C-A042DE604D2C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {21DC9900-C2B0-46BD-8674-11900BE1A55F}
EndGlobalSection
EndGlobal
Class Examples/tcpMultiConnections/tcpMultiConnections/App.config
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
    </startup>
</configuration>
Class Examples/tcpMultiConnections/tcpMultiConnections/Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace tcpMultiConnections
{
    class Program
    {
        //static List<Socket> sockets = new List<Socket>();
        static Dictionary<string, Socket> sockets = new Dictionary<string, Socket>();
        static void Main(string[] args)
        {
            TcpListener server = new TcpListener(IPAddress.Loopback, 5000);
            server.Start();
            Console.WriteLine("Waiting for a connection...");
            while(true)
            {
                Thread t = new Thread(handleConnections);
                Socket client = server.AcceptSocket();
                t.Start(client);
            }
            server.Stop();
        }
        static void handleConnections(object socket)
        {
            Socket client = (Socket)socket;
            Console.WriteLine($"Connection accepted from {client.RemoteEndPoint}");
            byte[] buffer = new byte[1024];
            int k = client.Receive(buffer);
            string username = Encoding.ASCII.GetString(buffer, 0, k);
            sockets[username] = client;
            while (true)
            {
                try
                {
                    k = client.Receive(buffer);
                    foreach (KeyValuePair<string, Socket> otherClient in sockets)
                    {
                        if (otherClient.Value != client)
                        {
                            string clientData = $"[{username}] - " + Encoding.ASCII.GetString(buffer, 0, k);
                            otherClient.Value.Send(Encoding.ASCII.GetBytes(clientData));
                        }
                            //otherClient.Value.Send(buffer, 0, k, SocketFlags.None);
                    }
                    Console.WriteLine("Data received from client: {0}", Encoding.ASCII.GetString(buffer, 0, k));
                } catch (Exception e)
                {
                    sockets.Remove(username);
                    break;
                }
                //client.Send(Encoding.ASCII.GetBytes("Received!"));
            }
            client.Close();
        }
    }
}
Class Examples/tcpMultiConnections/tcpMultiConnections/Properties/AssemblyInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("tcpMultiConnections")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("tcpMultiConnections")]
[assembly: AssemblyCopyright("Copyright ©  2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components.  If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d3074096-207b-407e-9e7c-a042de604d2c")]
// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Class Examples/tcpMultiConnections/tcpMultiConnections/bin/Debug/tcpMultiConnections.exe.config
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
    </startup>
</configuration>
Class Examples/tcpMultiConnections/tcpMultiConnections/obj/Debug/tcpMultiConnections.csproj.CoreCompileInputs.cache
1
c321ffaed7fbac401adb57c7786a8739651417cc
Class Examples/tcpMultiConnections/tcpMultiConnections/obj/Debug/tcpMultiConnections.csproj.FileListAbsolute.txt
1
2
3
4
5
6
7
c:\users\cod_user\source\repos\tcpMultiConnections\tcpMultiConnections\bin\Debug\tcpMultiConnections.exe.config
c:\users\cod_user\source\repos\tcpMultiConnections\tcpMultiConnections\bin\Debug\tcpMultiConnections.exe
c:\users\cod_user\source\repos\tcpMultiConnections\tcpMultiConnections\bin\Debug\tcpMultiConnections.pdb
c:\users\cod_user\source\repos\tcpMultiConnections\tcpMultiConnections\obj\Debug\tcpMultiConnections.csprojAssemblyReference.cache
c:\users\cod_user\source\repos\tcpMultiConnections\tcpMultiConnections\obj\Debug\tcpMultiConnections.csproj.CoreCompileInputs.cache
c:\users\cod_user\source\repos\tcpMultiConnections\tcpMultiConnections\obj\Debug\tcpMultiConnections.exe
c:\users\cod_user\source\repos\tcpMultiConnections\tcpMultiConnections\obj\Debug\tcpMultiConnections.pdb
Class Examples/tcpMultiConnections/tcpMultiConnections/tcpMultiConnections.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{D3074096-207B-407E-9E7C-A042DE604D2C}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>tcpMultiConnections</RootNamespace>
    <AssemblyName>tcpMultiConnections</AssemblyName>
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Class Examples/tcpServer/tcpServer.sln
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2042
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tcpServer", "tcpServer\tcpServer.csproj", "{F17E0160-D0E1-45A4-B11E-A4FBCAFBF46B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F17E0160-D0E1-45A4-B11E-A4FBCAFBF46B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F17E0160-D0E1-45A4-B11E-A4FBCAFBF46B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F17E0160-D0E1-45A4-B11E-A4FBCAFBF46B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F17E0160-D0E1-45A4-B11E-A4FBCAFBF46B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {63F9EA77-B0BD-4C44-8302-F80FB6B9B5AC}
EndGlobalSection
EndGlobal
Class Examples/tcpServer/tcpServer/App.config
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
    </startup>
</configuration>
Class Examples/tcpServer/tcpServer/Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Net;
using System.Net.Sockets;
namespace tcpServer
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                TcpListener server = new TcpListener(IPAddress.Loopback, 5000);
                server.Start();
                Socket client = server.AcceptSocket();
                Console.WriteLine($"Connection accepted from {client.RemoteEndPoint}");
                byte[] buffer = new byte[1024];
                int k = client.Receive(buffer);
                Console.WriteLine(Encoding.ASCII.GetString(buffer, 0, k));
                client.Send(Encoding.ASCII.GetBytes("Message received!"));
                //client.NoDelay = true;
                client.Close();
                server.Stop();
            } catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
    }
}
Class Examples/tcpServer/tcpServer/Properties/AssemblyInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("tcpServer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("tcpServer")]
[assembly: AssemblyCopyright("Copyright ©  2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components.  If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f17e0160-d0e1-45a4-b11e-a4fbcafbf46b")]
// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Class Examples/tcpServer/tcpServer/bin/Debug/tcpServer.exe.config
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
    </startup>
</configuration>
Class Examples/tcpServer/tcpServer/obj/Debug/tcpServer.csproj.CoreCompileInputs.cache
1
c321ffaed7fbac401adb57c7786a8739651417cc
Class Examples/tcpServer/tcpServer/obj/Debug/tcpServer.csproj.FileListAbsolute.txt
1
2
3
4
5
6
7
C:\Users\COD_User\source\repos\tcpServer\tcpServer\bin\Debug\tcpServer.exe.config
C:\Users\COD_User\source\repos\tcpServer\tcpServer\bin\Debug\tcpServer.exe
C:\Users\COD_User\source\repos\tcpServer\tcpServer\bin\Debug\tcpServer.pdb
C:\Users\COD_User\source\repos\tcpServer\tcpServer\obj\Debug\tcpServer.csprojAssemblyReference.cache
C:\Users\COD_User\source\repos\tcpServer\tcpServer\obj\Debug\tcpServer.csproj.CoreCompileInputs.cache
C:\Users\COD_User\source\repos\tcpServer\tcpServer\obj\Debug\tcpServer.exe
C:\Users\COD_User\source\repos\tcpServer\tcpServer\obj\Debug\tcpServer.pdb
Class Examples/tcpServer/tcpServer/tcpServer.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{F17E0160-D0E1-45A4-B11E-A4FBCAFBF46B}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>tcpServer</RootNamespace>
    <AssemblyName>tcpServer</AssemblyName>
    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.24348s using 14 queries.