DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Developing applications over NetBIOS using XTI

Sending NetBIOS broadcast datagrams

To enable receipt of broadcast datagrams on a transport endpoint:

  1. In the call to t_open, open the transport endpoint using the device name of a connectionless NetBIOS transport provider as the name parameter.

  2. In the call to t_bind, specify the NetBIOS name NB_BCAST_NAME and a queue length of zero. (NB_BCAST_NAME is defined in xti.h.)
You must use a connectionless NetBIOS provider to send broadcast datagrams. If you call t_bind for a connection-oriented transport provider, the function returns -1 and t_errno is set to TBADADDR.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004