Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 1997 02:31:57 -0600
From:      Greg Satz <satz@sprynet.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   FreeBSD JDK 1.0.2 libnet.so (UDP) busted?
Message-ID:  <33758383.1A58@sprynet.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33758383.1A58>