[Beepcore-java-users] Large RPY msg
Status: Beta
Brought to you by:
huston
|
From: Harsh D. <hda...@io...> - 2002-10-29 02:35:14
|
When I send a RPY msg that is larger than default buffer size of
Channel (4K), it looks like receiving side gets stuck after receiving
4K bytes (3 beep frames). Following is how I'm trying to receive the msg:
// note : ds is InputDataStream
while(true) {
BufferSegment b = ds.waitForNextSegment();
if (b == null)
break;
//
// process b
//
}
I use the same method to receive MSG w/o any problems.
Harsh
--
Harsh Daharwal
IOS Networks Inc.
http://www.iosnetworks.com
|