p;
}
NRC_PENDING = $ff; { asynchronous command is not yet finished
}
{ Values for transport_id }
ALL_TRANSPORTS = ''M''#$00#$00#$00;
MS_NBF = ''MNBF'';
{ values for name_flags bits. }
NAME_FLAGS_MASK = $87;
GROUP_NAME = $80;
UNIQUE_NAME = $00;
REGISTERING = $00;
REGISTERED = $04;
DEREGISTERED = $05;
DUPLICATE = $06;
DUPLICATE_DEREG = $07;
{ Values for state }
LISTEN_OUTSTANDING = $01;
CALL_PENDING = $02;
SESSION_ESTABLISHED = $03;
HANGUP_PENDING = $04;
HANGUP_COMPLETE = $05;
SESSION_ABORTED = $06;
type
{ Netbios Name }
TNBName = array[0..(NBNAMESIZE - 1)] of byte;
{ MAC address }
TMacAddress = array[0..5] of byte;
PNCB = ^TNCB;
{ Netbios Control Block }
{$IFDEF WIN32}
TNCBPostProc = procedure(P: PNCB);
{$ENDIF}
TNCB = packed record { Netbios Control Block }
Command: byte; { command code }
RetCode: byte; { return code }
LSN: byte; { local session number }
Num: byte; { name number }
Buf: ^byte; { data buffer &nbs