Function NbSListCon() Foundation
Opens NetBIOS session buffers and listens for remote connection requests.
NbSListCon( <cLocalName> , ;
[<nReceiveBufferSize>] , ; // Default: 0
[<nSendBufferSize>] , ; // Default: 0
[<cRemoteName>] , ; // Default: "*"
[<nPackageSize>] , ; // Default: 512
[<nReceiveTimeout>] , ; // Default: 0
[<nSendTimeout>] ; // Default: 0
) --> nCommunicationHandle
Returns a communication handle as a numeric value 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 data. 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 data. Otherwise it is a numeric value which must fall between <nPackageSize> and 64 kb.
<cRemoteName>
A string specifying the NetBIOS name of the remote workstation which starts a NetBIOS session. If not specified the local workstation answers connection requests from any remote workstation.
<nPackageSize>
This parameter defines the size of data packages to send/receive. It defaults to 512 bytes which is the maximum size.
<nReceiveTimeout>
Integer which sets the receive timeout interval in 1/2 second units.
<nSendTimeout>
Integer which sets the send timeout interval in 1/2 second units.
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.