Sevral bugs ar efixed, like braodcast spamming

This commit is contained in:
2017-06-27 21:59:20 +02:00
parent 51d1119776
commit ebb86f46e6
1303 changed files with 781 additions and 87 deletions

View File

@ -26,7 +26,6 @@ namespace BuechermarktServer
process.StartInfo.FileName = ".\\mongod.exe";
process.StartInfo.WorkingDirectory = Process.GetCurrentProcess().StartInfo.WorkingDirectory;
Console.WriteLine(Path.Combine(Environment.CurrentDirectory, "mongod.exe"));
process.StartInfo.Arguments = "--dbpath " + RelativeDbPath;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
@ -61,15 +60,12 @@ namespace BuechermarktServer
UdpClient client = new UdpClient();
IPEndPoint ip = new IPEndPoint(IPAddress.Broadcast, 3000);
byte[] bytes = Encoding.ASCII.GetBytes(ServerIdentifier);
while (true)
try
{
try
{
client.Send(bytes, bytes.Length, ip);
} catch (Exception ex)
{
Console.WriteLine(ex);
}
client.Send(bytes, bytes.Length, ip);
} catch (Exception ex)
{
Console.WriteLine(ex);
}
}
}

Binary file not shown.

View File

@ -1,2 +0,0 @@
WiredTiger
WiredTiger 2.9.2: (December 23, 2016)

View File

@ -1 +0,0 @@
WiredTiger lock file

View File

@ -1,6 +0,0 @@
WiredTiger version string
WiredTiger 2.9.2: (December 23, 2016)
WiredTiger version
major=2,minor=9,patch=2
file:WiredTiger.wt
access_pattern_hint=none,allocation_size=4KB,app_metadata=,block_allocation=best,block_compressor=,cache_resident=false,checkpoint=(WiredTigerCheckpoint.1=(addr="018381e440b482098481e4248984be808080808080e23fc0e20fc0",order=1,time=1498072305,size=16384,write_gen=2)),checkpoint_lsn=(2,128),checksum=uncompressed,collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=0,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=0,internal_key_truncate=true,internal_page_max=4KB,key_format=S,key_gap=10,leaf_item_max=0,leaf_key_max=0,leaf_page_max=32KB,leaf_value_max=0,log=(enabled=true),memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=4,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90,value_format=S,version=(major=1,minor=1)

View File

@ -1 +0,0 @@
7612

View File

@ -10,3 +10,4 @@ D:\Dokumente\Projekte\Buechermarkt\BuechermarktServer\bin\Debug\BuechermarktServ
D:\Dokumente\Projekte\Buechermarkt\BuechermarktServer\bin\Debug\BuechermarktServer.pdb
D:\Dokumente\Projekte\Buechermarkt\BuechermarktServer\obj\Debug\BuechermarktServer.exe
D:\Dokumente\Projekte\Buechermarkt\BuechermarktServer\obj\Debug\BuechermarktServer.pdb
D:\Dokumente\Projekte\Buechermarkt\BuechermarktServer\obj\Debug\BuechermarktServer.csprojResolveAssemblyReference.cache