From cb2577b29fe7b93e9b168ded7f35da748fdeaf1d Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Tue, 5 Mar 2002 17:58:11 +0000 Subject: - Re-Implemented lower levels of ncpd (packet and link). ncpd is now multithreaded. Results in much better performance and less CPU usage. --- ncpd/linkchan.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ncpd/linkchan.cc') diff --git a/ncpd/linkchan.cc b/ncpd/linkchan.cc index b95ec64..850b959 100644 --- a/ncpd/linkchan.cc +++ b/ncpd/linkchan.cc @@ -26,12 +26,15 @@ #include #include "linkchan.h" +#include "ncp.h" #include "bufferstore.h" #include "bufferarray.h" -linkChan::linkChan(ncp * _ncpController):channel(_ncpController) +linkChan::linkChan(ncp * _ncpController, int _ncpChannel):channel(_ncpController) { registerSer = 0x1234; + if (_ncpChannel != -1) + setNcpChannel(_ncpChannel); ncpConnect(); } -- cgit v1.2.3