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