missing bytes in pdu when mru is greater than 1400 bytes
Brought to you by:
mcdmx,
nikobender
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)