From owner-freebsd-questions Sun May 11 01:28:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA18106 for questions-outgoing; Sun, 11 May 1997 01:28:40 -0700 (PDT) Received: from hubbub.cisco.com (mailgate-sj-1.cisco.com [198.92.30.31]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA18101 for ; Sun, 11 May 1997 01:28:38 -0700 (PDT) Received: from 171.69.113.22 (homework.cisco.com [171.69.113.22]) by hubbub.cisco.com (8.8.4-Cisco.1/CISCO.GATE.1.1) with SMTP id BAA09567 for ; Sun, 11 May 1997 01:28:07 -0700 (PDT) Message-ID: <33758383.1A58@sprynet.com> Date: Sun, 11 May 1997 02:31:57 -0600 From: Greg Satz Reply-To: satz@sprynet.com X-Mailer: Mozilla 3.01 (Macintosh; I; PPC) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: FreeBSD JDK 1.0.2 libnet.so (UDP) busted? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I am attempting to get the FreeBSD 1.0.2 JDK port to receive UDP datagrams using DatagramSocket.receive(). All I get is errno 35, resource temporarily unavailable. The java code calls into a native routine called datagramSocketReceive that lives in lib/i386/libnet.so. >From the ktrace it appears to be doing a recvfrom system call and returning the above errno. At that point it returns an IOException. The bottom line is DatagramSocket.receive() never returns a UDP packet. It works fine on Solaris, Mac and Win95 so I know it isn't my java code. Since this package is unsupported I know it may not get fixed but I figured I would ask anyway. Thanks, Greg Satz PS. I am running 2.2-stable.