From: Joel VanderWerf Date: 2005-07-08T06:47:34+09:00 Subject: Re: UDPSocket question There's a proprietary algorithm: http://www.digitalfountain.com/technology/index.cfm but you may just want to roll your own simple solution using sequence numbers and retransmission. Joe Van Dyk wrote: > Are there any 'tricks' that I can use to make sending data messages > larger than 64KB back over UDP? (i.e. any Ruby functions that will > break up a message into smaller chunks and then reassemble) > > On 7/6/05, Yohanes Santoso wrote: > >>Joe Van Dyk writes: >> >> >>>Related question: >>> >>>If I need to send a message that's greater than 64KB back, is there >>>some standard Ruby way of doing so? (64KB seems to be the maximum >>>packet size) >> >>No. That's the maximum size of a UDP packet, and since UDP is a >>datagram protocol, there is no mechanism to say 'this packet is a >>continuation of that packet' at the UDP level. You'd have to do so at >>a higher level. >> >>YS. >> >> >> > > -- Joel VanderWerf California PATH, UC Berkeley mailto:vjoel@path.berkeley.edu Ph. (510) 231-9446 http://www.path.berkeley.edu FAX (510) 231-9565