Hi,

In one application I had problems with Csound native OSCsend (not using liblo) - when sending many messages, at some point it ended with error:
INIT ERROR in instr 3 line 44: creating socket

with OSCsend_lo it worked.

I made a test csd and discovered that it only happens when OSCsend is called at init time. If it is called at k-time there is no such problem.

See the attached file -
instr 3 (OSCsend on init time) fails with around 90..100 calls in the loop.
instr 2 works (both OSCsend and OSCsend_lo called on first k-cycle)

I found solution for myself but if there is something to check in the code, maybe it is helpful.

Tested on Linux, Csound version 6.13 beta (double samples) May 21 2019

tarmo


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here