(JNIEnv *, jobject, jint)
(JNIEnv *env, jobject this, jint ttl)
JNIEXPORT void JNICALL Java_java_net_PlainDatagramSocketImpl_setTimeToLive  (JNIEnv *, jobject, jint){	/* FIXME: copied from setTTL but not tested */	int sockfd, sockfamily;	sockfd = getSocketFileDescriptor(env, this);	sockfamily = getSocketFamily(sockfd);#ifdef DEBUG	printf("NATIVE: PlainDatagramSocketImpl.setTTL() entering ttl = %d\n", ttl);#endif	switch (sockfamily)	{		case AF_INET:			if (setsockopt(sockfd, IPPROTO_IP, IP_MULTICAST_TTL, (char *)&ttl, sizeof(ttl)) < 0)				goto error;			return;		case AF_INET6:			if (setsockopt(sockfd, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, (char *)&ttl, sizeof(ttl)) < 0)				goto error;			return;		default:			errno = EAFNOSUPPORT;			goto error;	}	error:		throwException(env, EX_IO, strerror(errno));		return;}