Function NbDOpen() Foundation
Opens NetBIOS send and receive buffers for datagram services.
NbDOpen( <cLocalName> , ;
[<nReceiveBufferSize>], ; // Default: NIL
[<nSendBufferSize>] , ; // Default: NIL
[<cRemoteName>] , ; // Default: NIL
[<nPackageSize>] ; // Default: 512
) --> nCommunicationHandle
Returns a numeric value >0 which is to be used as communication handle for other Nb..() and Ppc..() functions or 0 in case of an error.
<cLocalName>
A string of max. 15 characters. It serves as the local workstation's NetBIOS name for communication with other workstations in the network. If <cLocalName> does not exist in the local name table it is added automatically (see NbAddName()).
<nReceiveBufferSize>
If this parameter is omitted no receive buffer will be installed on the local workstation. In this case it is only possible to send datagrams. Otherwise it is a numeric value which must fall between <nPackageSize> and 64 kb.
<nSendBufferSize>
If this parameter is omitted no send buffer will be installed on the local workstation. In this case it is only possible to receive datagrams. Otherwise it is a numeric value which must fall between <nPackageSize> and 64 kb.
<cRemoteName>
If this parameter is omitted the local workstation will only be able to send/receive broadcast datagrams. Otherwise a communication is possible to all remote workstations which have entered <cRemoteName> to their local name table.
<nPackageSize>
This parameter defines the size of data packages to send/receive. It defaults to 512 bytes which is the maximum size.
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.