Function NbReset() Foundation
Resets the NetBIOS adapter.
NbReset( [<nMaxSessions>] , ; // Default: 0
[<nMaxNCBs>] , ; // Default: 0
[<nNewNameRequest>] ; // Default: 6
) --> lSuccess
Function NbReset() deletes the local name table of the active process, closes all open NetBIOS sessions and sets new maximum values for the number of sessions, network control blocks (NCB) and requests new entries in the local name table for the application's exclusive use.
If 0 is passed for <nMaxSessions> or <nMaxNCBs> internal NetBIOS default settings will become active.
Parameter <nNewNameRequest> specifies how many entries to add to the local name table. The size of the local name table is limited by NetBIOS to 254 entries in total. The available size of the local name table can be configured in the [NETBIOS] section of the \IBMCOM\PROTOCOL.INI file with 'names='. If you request more name table entries than are available NbReset() requests the remaining ones and returns .F. (false). In this case function NbError() indicates that the local name table is full.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.