Large RPY msg
"Harsh Daharwal" <[email protected]> Mon, 28 Oct 2002 20:29:34 -0600 (CST)
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <[email protected]> |
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
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf