mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 11:32:59 +00:00
Todo
This commit is contained in:
parent
4d813bcf3d
commit
cd7063ceb4
@ -124,28 +124,25 @@ public abstract class NetworkServer<TConnection> : IDestructible where TConnecti
|
|||||||
//Console.WriteLine("New Socket ... " + DateTime.Now);
|
//Console.WriteLine("New Socket ... " + DateTime.Now);
|
||||||
|
|
||||||
var c = new TConnection();
|
var c = new TConnection();
|
||||||
//c.OnClose += ClientDisconnectedEventReceiver;
|
|
||||||
c.Assign(s);
|
|
||||||
Add(c);
|
|
||||||
//Connections.Add(c);
|
|
||||||
|
|
||||||
try
|
c.Assign(s);
|
||||||
|
Add(c);
|
||||||
|
|
||||||
|
try
|
||||||
{
|
{
|
||||||
//ClientConnected(c);
|
ClientConnected(c);
|
||||||
ClientConnected(c);
|
}
|
||||||
//NetworkConnect(c);
|
|
||||||
}
|
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
// something wrong with the child.
|
// something wrong with the child.
|
||||||
}
|
}
|
||||||
|
|
||||||
s.Begin();
|
s.Begin();
|
||||||
|
|
||||||
// Accept more
|
// Accept more
|
||||||
//listener.Accept().Then(NewConnection);
|
//listener.Accept().Then(NewConnection);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Console.WriteLine(ex);
|
Console.WriteLine(ex);
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
1- Scan assembly for child classes
|
1- Scan assembly for child classes
|
||||||
2- Auto reconnect id
|
2- Auto reconnect id
|
||||||
|
3- ResourceTrigger.PopulateDate (after ef data setting)
|
Loading…
x
Reference in New Issue
Block a user