message deleted
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
message deleted
Last edited by perl0101; May 24th, 2011 at 11:48 AM.
message deleted.
Last edited by perl0101; May 24th, 2011 at 11:48 AM.
Could you post your code? It's kind of hard for us to figure out what's wrong without it.
message delted
Last edited by perl0101; May 24th, 2011 at 11:48 AM.
Can you post the full text of the message so we can research it?partial message exception
Who generates the message?
Can you give me the class/method for a java non-blocking socke?java non-blocking socket
rbuf.get(b, 0, n);
dataBuffer.put(b);
Does the get() method return the number of bytes read? Can it be less than n?
Last edited by Norm; July 27th, 2010 at 02:45 PM.
perl0101 (July 27th, 2010)
delete message
Last edited by perl0101; May 24th, 2011 at 11:49 AM.
@perl0101 when you post code place it between the tags in helloworlds signature.
perl0101 (July 27th, 2010)
message deleted
Last edited by perl0101; May 24th, 2011 at 11:49 AM.
Your posted error message says that there is a missing tag in the data.
Was the tag in the data being sent?
If it was, can you look at the received data and see what is missing? Or what was extra that confused the parser.
What tests do you do to see that the data that was sent, was received?
For example have a log on both ends that records the number of bytes sent on the sending side and the number received on the receiving side. Are there differences in the two logs?
Are there more or less bytes received than sent?
message delted
Last edited by perl0101; May 24th, 2011 at 11:49 AM.
Can you dump for viewing the records with missing/extra data to see what is happening?
how do you know that "messages can not be received completely"?
Would bad data in the middle or extra data in the middle also case the parser to fail?
message delted
Last edited by perl0101; May 24th, 2011 at 11:50 AM.
Sorry, I've no idea about how your programs work.
What are in the additional 1476 bytes that machine B reads?
Does it show any relationship to the 6526 bytes sent earlier?
perl0101 (July 28th, 2010)
message delted
Last edited by perl0101; May 24th, 2011 at 11:50 AM.
Hard to tell what is happening from here.
Good luck with the project.