Joe Van Dyk <joevandyk / gmail.com> writes: > 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) No. UDP really does not have the necessary features needed for establishing a virtual-circuit (which is what you want). You'd need to add the following at the very minimum: 1. Message fragmentation/defragmentation 2. Packet ordering 3. Packet lost detection 4. Packet resending Do the above, and you'll have TCP minus flow control, which begs the question of why not use TCP in the first place. I don't know what your requirements are, so I can't say, 'use TCP, don't use udp'. There is a plethora of protocols over UDP that tries to emulate some of TCP functionalities, like LEAP (lightweight & efficient application protocols) (disclaimer: i was involved in development of LEAP protocols), or a darling among the media industry: RTSP (Real Time Streaming Protocol) Usually they were created due to the need of a protocol that is 'lighter' than TCP but provides the reliability of a virtual circuit; a compromise. So, either use those protocols, or you'd have to make one yourself. YS.