24 lines
466 B
C++
24 lines
466 B
C++
![]() |
#ifdef RTP_SOCKETTYPE_WINSOCK
|
||
|
#include <winsock2.h>
|
||
|
#include <ws2tcpip.h>
|
||
|
#ifndef _WIN32_WCE
|
||
|
#include <sys/types.h>
|
||
|
#endif // !_WIN32_WCE
|
||
|
#else
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/socket.h>
|
||
|
#include <netinet/in.h>
|
||
|
#endif // RTP_SOCKETTYPE_WINSOCK
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
int testval;
|
||
|
struct ipv6_mreq mreq,mreq2;
|
||
|
mreq = mreq2; // avoid 'unused variable'
|
||
|
testval = IPV6_MULTICAST_HOPS;
|
||
|
testval = IPV6_JOIN_GROUP;
|
||
|
testval = IPV6_LEAVE_GROUP;
|
||
|
return 0;
|
||
|
}
|
||
|
|