read hang on datagram socket

Daniel Eischen deischen at freebsd.org
Thu Jan 26 16:26:38 PST 2006


On Thu, 26 Jan 2006, Kurt Miller wrote:

> On Thursday 26 January 2006 6:56 pm, Daniel Eischen wrote:
> > On Thu, 26 Jan 2006, Kurt Miller wrote:
> >
> > > I'm working on 1.5 jdk certification on 5.4 and 6.0. One of the jck
> > > tests hangs on 5.4 but works ok on 6.0. I've reduced the problem
> > > down to the following C program that hangs on 5.4 but works fine
> > > (finishes) on 6.0 and 4.11.
> > >
> > > I could use some assistance with finding a work-around to the
> > > problem or an explanation as to why the program hangs on 5.4.
> >
> > It exit'd in the last connect() in Solaris 9.  I modified it
> > to work -- see below.
>
> Thanks, that was my bug (the jdk did it right). It Sill hangs on 5.4
> though.

The modified version does not hang on 5.2.  Do you have multiple
interfaces on your 5.4 box?

What happens when you try using non-zero IP addresses and ports?

-- 
DE



More information about the freebsd-hackers mailing list