[PD] tcpclient sending more than 1 send at once

Martin Peach martin.peach at sympatico.ca
Mon Sep 8 21:44:14 CEST 2008


Enrique Erne wrote:
>i did some test sending a file (over localhost). the limit seems to be
>at 65536. my test file is 49474 but i usually received 2 packets, rarely
>one single packet with 49474 bytes, sometimes even 3 packets.
>
>i guess this behaves the same for normal send messages (not whole files)
>it could be a real problem since we can't really tell if a bundle is
>complete.
>

65536 is the largest packet you can send with tcp or udp because the size 
field in the IP header is 16 bits wide. I think if you need to send that 
much in a packet you need to think of another way to do it, for instance 
send the entire file via ftp.

Martin






More information about the Pd-list mailing list