I think that works for me.

Only caveat is that  urgent data packets  usually are 1 byte in size (even
the socket's sendurgentdata takes int as parameter). 

I think it would be better if it stays on its own as a special so that
people don't misuse this HIGHEST priority. 
Moreover every server hates to receive urgent data packets as they can be
potential to DOS attacks.

WDYT?

Hope this helps
thanks
Sincerely
minatds


mheath wrote:
> 
> Perhaps this could be solved in conjunction with 
> https://issues.apache.org/jira/browse/DIRMINA-428.  With UDP, if the 
> priority is above a certain threshold we would send the packet as an 
> urgent data packet.
> 
> WDYT?
> 
> -Mike
> 
> minatds wrote:
>> You are correct about the fact that few routers support them and also
>> many
>> avoid to use urgent data packets
>> as they can be a cause for DOS attacks.  In my situation, my application
>> act
>> as a gateway/router where it interacts with  the legacy applications
>> built
>> in Powerbuilder and Sybase/TDS complaint Mainframe applications.
>> The power builder application waits after sending  urgent packet and the
>> server has to respond for that packet to continue.
>> So any help to get this patch, will be of great help.
>> Other than this, MINA rocks. 
>> 
>> thanks a lot
>> Sincerely
>> Minatds
>> 
>> Adam Fisk-3 wrote:
>>> I'm curious if you see any effect of the urgent data options.  My
>>> understanding was that few routers support them.  Do you see them having
>>> an
>>> effect?
>>>
>>> I'd suggest just a patch to the configuration classes to support the
>>> option.  Should be a really easy change, and I'd suspect it would be
>>> accepted quickly.  I think the change you'd want to make would be in
>>> SocketSessionConfigImpl.
>>>
>>> Not ideal, I realize, but I'd expect that change to get accepted really
>>> quickly if you submit a patch, and you could run off the mainline until
>>> the
>>> release.
>>>
>>> -Adam
>>>
>>>
>>> On 8/28/07, minatds <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Trustin,
>>>>
>>>> I am wondering whether there is any work around for sending urgent data
>>>> packet?
>>>>
>>>> thanks
>>>> sincerely
>>>> minatds
>>>>
>>>>
>>>> minatds wrote:
>>>>> Thanks Jeroen.
>>>>> As I have mentioned in the earlier mails, I have enabled setOOBInline
>>>> in
>>>>> my code and only after that I could detect urgent data packets.
>>>>> Now I have to SEND the urgent data packets and that seems to be the
>>>>> problem.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/How-to-send-a-urgent-data-packet-tf4231150s16868.html#a12377736
>>>> Sent from the Apache MINA Support Forum mailing list archive at
>>>> Nabble.com
>>>> .
>>>>
>>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-send-a-urgent-data-packet-tf4231150s16868.html#a12412610
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to