[PD] Netreceive + osc issue

IOhannes m zmölnig zmoelnig at iem.at
Wed Mar 24 21:41:39 CET 2021


On 3/24/21 21:02, Rick Snow wrote:
> Hi all,
> 
> I wonder if anyone can help me out with this issue.
> 
> I’m receiving an OSC message using [netreceive -u -b 7002] from another piece of software on the same computer.  Netreceive is producing an error in the console reading:
> 
> “recv (bin): a message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself. (10040)”
> 


there has been discussion at [903] about enlarging the network buffer to 
the maximum possible frame size for UDP packages.

right now that size is rather small (4096 bytes), which is usually 
enough for real networked traffic (as most networking components will 
impose a default maximum package size of 1500 bytes), but when the 
computer is "networking" with itself (communicating via "localhost") 
that limit can be easily blown.

until the corresponding PR [1122] is accepted (and there is a bit of 
reluctance accepting it), the only viable workaround is by not sending 
large packets (that is: instruct your sending application to not send 
packages that exceed the 4096 byte limit)

in the meantime, add your mojo to the PR resp issue.

fgmsar
IOhannes


[903] https://github.com/pure-data/pure-data/issues/903
[1122] https://github.com/pure-data/pure-data/pull/1122

> The OSC message does not print from the outlet on netreceive.
> 
> I’m running this on a PC on 0.51.4.
> 
> Thanks for all advice!
> 
> Cheers,
> Rick
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210324/926ae9ef/attachment.sig>


More information about the Pd-list mailing list