Article View: comp.os.ms-windows.networking.misc
Article #49Re: netbios registering
From: Thor Asmund
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
28 lines
2100 bytes
2100 bytes
Rob Beard wrote:
> Hi Thor,
>
> You send an NCB_ADDNAME with the correct parameters. Call the Ncb()
> function with ncb_command = NCB_ADDNAME.
Rob,
I hope it is alright I ask you one more question?
I already tried what you wrote here, but it seems I have to send some
other commands before this. If I just send an addname, I was told in
an errorcode, that I needed to first send an NCB_CALL. When I send
that, I was told I needed to specify the correct LANA_NUM. To obtain
that I called NCB_ENUM. This call actually succeeded and I got the
LANA_NUM. The nubmer was "1".
Still the NCB_CALL wouldn't succeed, due to this error code:
NRC_BRIDGE ($23) // NCB_lana_num field invalid
What do you think I do wrong?
-------------------------------- ------------- ----- --- - - -
Nafai aka Thor Asmund � mailto:nafai@REMOVEblackbird.poocher.com
Home: http://blackbird.poocher.com/~nafai
ICBM target co-ordinates: 33 50'S, 151 13'E
URL o'the week: http://home3.inet.tele.dk/prunus/art7.htm
- - - --- ----- ------------ ---------------------------------
Technical Details
Message-ID:
<37D50616.B9BA3841@blackbird.poocher.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37C63CFA.BDE01F39@blackbird.poocher.com> <kRIx3.796$BG2.10187@typhoon.southeast.rr.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: fb362,455bb0c15d9f7aae X-Google-Attributes: gidfb362,public X-Google-Thread: 108a34,455bb0c15d9f7aae X-Google-Attributes: gid108a34,public X-Google-Thread: 108304,455bb0c15d9f7aae X-Google-Attributes: gid108304,public From: Thor Asmund <nafai@blackbird.poocher.com> Subject: Re: netbios registering Date: 1999/09/07 Message-ID: <37D50616.B9BA3841@blackbird.poocher.com> X-Deja-AN: 522071889 Content-Transfer-Encoding: 8bit References: <37C63CFA.BDE01F39@blackbird.poocher.com> <kRIx3.796$BG2.10187@typhoon.southeast.rr.com> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@news.net.uni-c.dk X-Trace: news.net.uni-c.dk 936707574 13462 130.226.138.4 (7 Sep 1999 12:32:54 GMT) Organization: UNI-C Mime-Version: 1.0 NNTP-Posting-Date: 7 Sep 1999 12:32:54 GMT Newsgroups: comp.os.ms-windows.networking.misc,microsoft.public.win32.programmer.networks,borland.public.delphi.internet