internal KayakServer(IServerDelegate del, IScheduler scheduler) { this.del = del; this.scheduler = scheduler; listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP); state = new KayakServerState(); }
internal DefaultKayakServer(IServerDelegate del, IScheduler scheduler) { if (del == null) throw new ArgumentNullException("del"); if (scheduler == null) throw new ArgumentNullException("scheduler"); this.del = del; this.scheduler = scheduler; listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP); state = new KayakServerState(); }
internal DefaultKayakServer(IServerDelegate del, IScheduler scheduler) { if (del == null) { throw new ArgumentNullException("del"); } if (scheduler == null) { throw new ArgumentNullException("scheduler"); } this.del = del; this.scheduler = scheduler; listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP); state = new KayakServerState(); }