(JNIEnv *, jobject)
(JNIEnv *env, jobject this)
JNIEXPORT jint JNICALL Java_java_net_PlainDatagramSocketImpl_getTimeToLive  (JNIEnv *, jobject){	int sockfd, sockfamily;	jint ttl;	socklen_t ttlLength;	sockfd = getSocketFileDescriptor(env, this);	sockfamily = getSocketFamily(sockfd);#ifdef DEBUG	printf("NATIVE: PlainDatagramSocketImpl.getTimeToLive() entering sockfd = %d sockfamily = %d\n", sockfd, sockfamily);#endif	/* FIXME: We should be returning the _REAL_ ttl */	return 1;	switch (sockfamily)	{		case AF_INET:			if (getsockopt(sockfd, IPPROTO_IP, IP_MULTICAST_TTL, (char *)&ttl, &ttlLength) < 0)				goto error;			break;		case AF_INET6:#ifdef DEBUG	printf("NATIVE: PlainDatagramSocketImpl.getTimeToLive() getsockopt()\n");#endif			if (getsockopt(sockfd, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, (char *)&ttl, &ttlLength) < 0)				goto error;			break;		default:			errno = EAFNOSUPPORT;			goto error;	}				return ttl;	error:		throwException(env, EX_IO, strerror(errno));		return (jint)NULL;}