home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q101 / 2 / 68.TXT < prev    next >
Encoding:
Text File  |  1993-08-31  |  2.5 KB  |  60 lines

  1. DOCUMENT:Q101268  09-JUL-1993  [W_NT]
  2. TITLE   :INF: Tuning Sessions, Names, and NCBs for NetBIOS Applications
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------
  14.  
  15. The Names, Sessions, and NCB parameters in Microsoft LAN Manager were
  16. exposed through the PROTOCOL.INI file and applied for various NetBIOS
  17. applications. The Windows NT NetBIOS redirector uses TDI for transport
  18. related communications. Various NetBIOS applications need to change
  19. the default values for Names, Sessions and NCBs. Under Windows NT,
  20. there is no interface or Registry parameter with which to set or
  21. changes these values.
  22.  
  23. In order to change these values for a NetBIOS application, the
  24. application needs to use the NetBIOS RESET command. For NetBIOS 3.0,
  25. the application must issue a NetBIOS RESET command as the very first
  26. command. The RESET command specifies the resources needed by the
  27. application. To accomplish this, the application should set the
  28. following fields in the RESET command NCB (network control block):
  29.  
  30.    NCB_CALLNAME[0] (One byte, maximum number of sessions)
  31.    NCB_CALLNAME[1] (One byte, maximum number of NCBs or commands)
  32.    NCB_CALLNAME[2] (One byte, maximum number of names)
  33.  
  34. The default values for these fields are:
  35.  
  36.    NCB_CALLNAME[0] 16 (Sessions)
  37.    NCB_CALLNAME[1] 16 (Commands)
  38.    NCB_CALLNAME[2] 8 (Names)
  39.  
  40. Reference:
  41.  
  42. "IBM LAN Technical Reference," pages 4-29
  43.  
  44. Additional reference words: 3.10 netsrv
  45.  
  46. =============================================================================
  47.  
  48. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  49. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  50. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  51. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  52. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  53. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  54. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  55. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  56. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  57. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  58. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  59.  
  60. Copyright Microsoft Corporation 1993.