Bugfix
This commit is contained in:
@@ -33,8 +33,9 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="ErgometerLibrary">
|
<Reference Include="ErgometerLibrary, Version=1.0.2.1, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\..\ErgometerLibrary\ErgometerLibrary\bin\Debug\ErgometerLibrary.dll</HintPath>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\ErgometerLibrary\ErgometerLibrary\ErgometerLibrary\bin\Debug\ErgometerLibrary.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ namespace ErgometerServer
|
|||||||
{
|
{
|
||||||
FileHandler.CheckDataFolder();
|
FileHandler.CheckDataFolder();
|
||||||
|
|
||||||
|
clients = new List<ClientThread>();
|
||||||
|
|
||||||
TcpListener listener = new TcpListener(NetHelper.GetIP("127.0.0.1"), 8888);
|
TcpListener listener = new TcpListener(NetHelper.GetIP("127.0.0.1"), 8888);
|
||||||
listener.Start();
|
listener.Start();
|
||||||
|
|
||||||
@@ -37,7 +39,7 @@ namespace ErgometerServer
|
|||||||
Console.WriteLine("Client connected");
|
Console.WriteLine("Client connected");
|
||||||
|
|
||||||
//Start new client
|
//Start new client
|
||||||
var cl = new ClientThread(client, this);
|
ClientThread cl = new ClientThread(client, this);
|
||||||
clients.Add(cl);
|
clients.Add(cl);
|
||||||
|
|
||||||
//Run client on new thread
|
//Run client on new thread
|
||||||
|
|||||||
Reference in New Issue
Block a user