I have not found the way to enable BROADCAST for udp sockets.
My server receives them when I send from my PC. But from a similar
MPE program nothing is received.

The paraphrased MPE program:
        sock = socket (...)
        bind ( sock.... )
        if ( !err && socktype == SOCK_DGRAM ){
                flag = 1;
                err = setsockopt ( sock, SOL_SOCKET, SO_BROADCAST, &flag,
sizeof(flag));
                printf ( "SoBroad=%d err %d\n", err, errno );
        }

When using a specific address, the UDP is received, but using 192.168.2.255,
nothing is received.  After setsockopt, the printf is SoBroad=0 err 0.
I also tried flag = -1.
Also tried setsockopt before the bind call.

Any ideas or leads?

> _____________________________________________________________
> Keven Miller   mailto:[log in to unmask]   http://www.exegesys.com
>
---------------------------------------------------
Plan now to attend the
eXegeSys eRP Users Conference 2001, Oct. 1-4, Downtown SLC.
Register today by visiting www.exegesys.com/erp2001/welcome.htm