diff options
author | Fritz Elfert <felfert@to.com> | 2002-03-05 17:58:11 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-03-05 17:58:11 +0000 |
commit | cb2577b29fe7b93e9b168ded7f35da748fdeaf1d (patch) | |
tree | d7cf962ead89069f885f8da7137feb94acb3dfec /ncpd/linkchan.cc | |
parent | 8f9ae0a93ba3ea860a28933c2a411eae9365c859 (diff) | |
download | plptools-cb2577b29fe7b93e9b168ded7f35da748fdeaf1d.tar.gz plptools-cb2577b29fe7b93e9b168ded7f35da748fdeaf1d.tar.bz2 plptools-cb2577b29fe7b93e9b168ded7f35da748fdeaf1d.zip |
- Re-Implemented lower levels of ncpd (packet and link).
ncpd is now multithreaded. Results in much better performance and less
CPU usage.
Diffstat (limited to 'ncpd/linkchan.cc')
-rw-r--r-- | ncpd/linkchan.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 <string> #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(); } |