05-16-2019, 06:23 AM | #1 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,686
|
configuring an OSCIIBot program
I'd like to configure which IP address an OSCIIBot program will attach to to exchange OSC packages. Some other program will find that IP address before OSCIIBot is started.
Now the IP address uually is not manageable by a variable, but hard coded in the source file. Is there any way to provide the OSCIIBot program with that IP addre4ss other than patching the complete source code file ? (e.g. read an environment variable or a file or include a file, that provides the IP address, in the source code ? -Michael Last edited by mschnell; 05-17-2019 at 05:52 AM. |
05-20-2019, 06:46 AM | #2 |
Human being with feelings
Join Date: Feb 2016
Posts: 189
|
If you are handling @input OSC (as opposed to output) then there is perhaps the wildcard *, or if there is a known pre-defined range or subset of IP addresses then there is the "skip" capability that will match the first valid IP address.
Look at the OSCII-bot sample_script.txt for examples of this. AFAIK it's not described anywhere else so experimentation would be needed. The OSCII-bot language description reads as if the IP addresses have to be predefined though at compile time rather than assignable as variables. |
05-22-2019, 07:06 AM | #3 |
Human being with feelings
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,686
|
So no chance
thanks, -Michael |
Thread Tools | |
Display Modes | |
|
|