mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-05-06 03:32:57 +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);
|
||||
|
||||
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);
|
||||
//NetworkConnect(c);
|
||||
}
|
||||
ClientConnected(c);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// something wrong with the child.
|
||||
}
|
||||
// something wrong with the child.
|
||||
}
|
||||
|
||||
s.Begin();
|
||||
|
||||
// Accept more
|
||||
//listener.Accept().Then(NewConnection);
|
||||
// Accept more
|
||||
//listener.Accept().Then(NewConnection);
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex);
|
||||
|
@ -1,2 +1,3 @@
|
||||
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