Exemplo n.º 1
0
 public SocketServer(IPEndPoint listenEndPoint, Func <Stream, IServicePeer> factory) : base(listenEndPoint)
 {
     _factory = new ExpressionPeerFactory(factory);
 }
Exemplo n.º 2
0
 public SocketServer(IPEndPoint listenEndPoint, IServicePeerFactory factory) : base(listenEndPoint)
 {
     _factory = factory;
 }