bwbalint
Alexey,
I have not found this anywhere, but how many OSC targets are required to get Lemur connected to AZ controller in Sonar? and the port numbers would start with 8000, then 8001, as needed? Thanks for your work on all this. It has made connecting with an external control surface much easier.
For OSC, ONE port is IN. Out port is (normally) not important. If Lemur can speak with several different computers (targets), you need only one for AZ Controller. There is still probably only IN port in Lemur, and this number should be set in AZ Controller. There is on IN port in AZ Controller and it should be set in Lemur. Real communications are going as following:
Lemur (random port) -> AZ Controller (IN port)
AZ Controller (random port) -> Lemur (IN port).
In other words messages are accepted from any port, but to be received they should know correct destination. The same as with "return address" on paper mail (in fact AZ Controller is using this "return address", but only for IP part, not the port).
Note that for stable operations you should configure your WiFi router to give fixed IP addresses for all devices involved. See the router documentation. That is no AZ Controller specific, everything can "randomly disconnect/timeout" otherwise, including Bonjour advertised communications. F.e. Lemur with anything, other apps with any other DAWs, network connected surfaces.