http://www.ousob.com --- Legacy Redefined #include <nwlocal.h> #include <nwconn.h> #include <nwconsol.h> #include <nwmsg.h> #include <extend50.h> CLIPPER b_conmsg() { WORD ConnectionNumber; BYTE b_mode; int ret_val = 0; int clip_param = _parl(1); ConnectionNumber = GetConnectionNumber(); if( ConnectionNumber > 0 ) { b_mode = GetBroadcastMode(); if( (b_mode == 0) || (b_mode == 1) ) { ret_val = TRUE; } if( (PCOUNT == 1) && (ISLOG(1)) ) { if( clip_param == TRUE ) { SetBroadcastMode(0); EnableBroadcasts(); } else { SetBroadcastMode(3); DisableBroadcasts(); } } } _retl(ret_val); }