Old 05-16-2019, 06:23 AM   #1
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 7,735
Default 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.
mschnell is online now   Reply With Quote
Old 05-20-2019, 06:46 AM   #2
goldenarpharazon
Human being with feelings
 
Join Date: Feb 2016
Posts: 132
Default

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.
goldenarpharazon is offline   Reply With Quote
Old 05-22-2019, 07:06 AM   #3
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 7,735
Default

So no chance

thanks,
-Michael
mschnell is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.