From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 22:56:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29DD216A4CE; Wed, 2 Mar 2005 22:56:12 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84FC143D2F; Wed, 2 Mar 2005 22:56:11 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [84.92.20.141] (chrishodgins.force9.co.uk [84.92.20.141]) j22MtwF2020783; Wed, 2 Mar 2005 22:55:58 GMT Message-ID: <422645BB.4010309@cis.strath.ac.uk> Date: Wed, 02 Mar 2005 23:01:15 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pat Maddox References: <810a540e050302134879860e8c@mail.gmail.com> In-Reply-To: <810a540e050302134879860e8c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 6) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk cc: FreeBSD Questions cc: FreeBSD Java Subject: Re: ICMP in Java X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 22:56:12 -0000 Pat Maddox wrote: > I'm writing an app that needs to send out ICMP packets. ICMP isn't > supported in Java until 1.5, and it looks like 1.5 is alpha and > shouldn't be used for production. Is that correct? Yes that's accurate I believe. > >>From what I've read, I'll need to use a JNI implementation. Does > anybody know of any preexisting ones for FreeBSD 5.3? Thanks Yes you will have to use the JNI api. Try googling "java jni icmp". If you are just after a ping I am sure there are quite a few examples out there. Chris > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" >