[sctp-dev] FW: Use SCTP with Java 1.6?
Dennis Hjort
dennis.hjort at ericsson.com
Tue Jan 19 03:26:37 PST 2010
>
> I wonder if this is a problem with a spurious wake up of the
> selector when there is nothing available on the channel. If
> this was the case then your Server code would expect that the
> channel was closed, when it is in fact still open and
> connected. This would explain the debugging output of the are seeing.
>
> Would it be possible to check the value of the returned
> MessageInfo.bytes()? bytes() will return -1 if end of stream.
>
> Example:
> if (messageInfo != null)
> if (messageInfo.bytes() == -1)
> channel.close
>
> What system are you running on? Maybe I could reproduce in house.
>
> -Chris.
Hi !
I'll try checking the the returned MessageInfo.bytes(), and get back to
you when I've done that.
We use Suse Enterprise v 11, if i got it right.
// D
>
>
> > With kind regards
> >
> > // Dennis
> >
>
More information about the sctp-dev
mailing list