Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
Hi there, I successfully used MINA with TCP transport. Now I want to be able to use UDP too. But it seems, that messages above 2048byte size, are not read properly. Here's some logoutput showing the problem: --log-- // client sends the message 2008-11-13 12:03:29,993 [INFO ] t_id=14

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
On Thu, 13 Nov 2008 13:40:57 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Alexander Christian wrote: Hi there, I successfully used MINA with TCP transport. Now I want to be able to use UDP too. But it seems, that messages above 2048byte size, are not read properly. What if you set

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
On Thu, 13 Nov 2008 14:11:23 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Well, you are experiencing UDP packet less, which is something quite usual with UDP, as it's not a reliable transport. Hmm, I know, but I thought MINA would handle this somehow ;-( The thing is to determinate

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Emmanuel Lecharny
Alexander Christian wrote: On Thu, 13 Nov 2008 11:43:56 -0200, Andres Martinez Quijano [EMAIL PROTECTED] wrote: MINA can't do anything about it, it's the underlying transport. What MINA does is let you swap transports very easily, use TCP and forget about that problem It's not an

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
On Thu, 13 Nov 2008 14:56:25 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Exactly. You buy speed by having an unreliable transport. That's somehow fair, if you can accept loosing packets (for instance to transmit voice or video, as you can fill the blanks ...). Sure, but in some cases,

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Emmanuel Lecharny
Alexander Christian wrote: On Thu, 13 Nov 2008 14:56:25 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Exactly. You buy speed by having an unreliable transport. That's somehow fair, if you can accept loosing packets (for instance to transmit voice or video, as you can fill the blanks

RE: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Bach Christian
side. Cheers, Christian. -Original Message- From: Alexander Christian [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 13. November 2008 15:08 To: users@mina.apache.org Subject: Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?! On Thu, 13 Nov 2008 14:56:25 +0100, Emmanuel