Menu

#5 missing bytes in pdu when mru is greater than 1400 bytes

open
nobody
None
5
2007-08-06
2007-08-06
Anonymous
No

class net.sourceforge.jwap.wtp.CWTPSocket
function run.

//------------------------------------------------
/** @todo MRU capability negotiation
* The folowing number (1400) should not be hard coded!
* It is the MRU that is negotiated via WSP.
* This is part of the WSP CAPABILITY NEGOTIATION Task!
*/
DatagramPacket in = new DatagramPacket(new byte[1400], 1400);

//------------------------------------------------

Increasing value (1400) solves the problem (or implementing MRU capability negotiation, i guess).

Pet (pspet@hotmail.com)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB