FormatNetBIOSName Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
FormatNetBIOSName Function
C
void FormatNetBIOSName(
    BYTE Name[16]
);
Description

This function formats a string to a valid NetBIOS name. Names will be exactly 16 characters, as defined by the NetBIOS spec. The 16th character will be a 0x00 byte, while the other 15 will be the provided string, padded with spaces as necessary.

Preconditions

None

Parameters
Parameters 
Description 
Name 
the string to format as a NetBIOS name. This parameter must have at least 16 bytes allocated. 
Returns

None

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.