能够将数据报套接字Sock1设置为允许发送广播数据的代码是()。
A. int yes=1;int size=sizeof(int);setsockopt(Sock1 , SOL_S0CKET ,SO_BROADCAST, (char*)&yes ,size);
B0OL yes=FALSE;int size= sizeof(BOOL);setsockopt(Sock1 , SOL_S0CKET ,SO_BROADCAST, (char*)&yes ,size);
C. B0OL yes=TRUE;int size= sizeof(BOOL);setsockopt(Sock1 , IPPROTO_IP ,SO_BROADCAST, (char*)&yes ,size);
D. int yes=1;int size=sizeof(int);setsockopt(Sock1 , IPPROTO_IP ,SO_BROADCAST, (char*)&yes ,size);