Re: Paket loss with JXTASockets when using JXTASocket.close()

Mohamed Abdelaziz <[email protected]>
Newsgroups gmane.comp.java.jxta.user
Message-ID <[email protected]>
Matthias Horst wrote:

> Hi,
>
> me too :)  You understand it right. I implemented your idea and it 
> gives me the result. But still this is a "hack". I thought that the 
> principles of sending an acknowlege information is already placed 
> somewhere deeper in the communication stack (io stream, TCP/IP etc), 
> and must not be placed in the application itself. At least it is said 
> that JXTASockets are "reliable", aren't they?
>
> Moreover I run a small example from P2PSocket project which is based 
> on JXTASockets. As far as I found out especially the close() command 
> is not overwritten, such that one calls  the same method as in the 
> original JXTASocket API. But to my surprise the problem does not exist!

The P2PSocket project uses JxtaSockets, and therefore inherits the 
capabilities of JxtaSocket. It also appears that issue1367 
<http://platform.jxta.org/nonav/issues/showattachment.cgi/1356/issue1367.patch> 
has already been applied to p2psocket (thanks for the validation point, 
I'll commit the patch shortly).


Mohamed

-- 
http://blogs.sun.com/roller/page/hamada
http://weblogs.java.net/blog/hamada
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.