Csound Csound-dev Csound-tekno Search About

OSC server error 10014 in path /foo/bar: unknown error

Date2007-07-28 03:04
From"mr.proxxxy"
SubjectOSC server error 10014 in path /foo/bar: unknown error
Sorry for posting yet ANOTHER question re: my forays into csound, but I'm
getting there and slowly understanding what's going on with the program! 

Ok, so here's the issue:

I'm trying to set up an osc listener in csound, and trying to do it as
simply as possible.
I know that it can SEND osc messages, because I have a perl script that can
dump all osc bundles sent to it, but I can't get the darn thing to receive.

My csd file (modded off the demo print.csd):




; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

giport1 OSCinit 7779

; Instrument #1.
instr 1
  ; Print the fourth p-field.
  OSCsend  1, "fancypants", 7779, "/foo/bar", "s", "!!" ; fancypants is my
computer
  ; the osc send is picked up by my perl script if I use one of the
following:
  ; fancypants, localhost, 192.168.1.2

  print p4 ;I have this here just so that I know the instrument is
working!!! 
endin

instr 2
Sf3 = " "
ktrig init 1
    OSCrecv giport1, "/foo/bar"
endin




i 1 0 1 50.375
i 1 1 1 300
i 1 2 1 -999
i 2 0 300
e



Seems like it should work, right?

But the instant the listener recieves a message, I get the error: 
OSC server error 10014 in path /foo/bar: unknown error

OSC messages are UDP, and looking at UDP error codes, I see that 10014
represents a "Bad address." More specifically, "The system detected an
invalid address in attempting to use an argument of a call." Zuh?!

I'm able to ping myself, and this error occurs regardless of whether or not
I'm using cygwin or a dos prompt.  What gives? I'm going out of my skull
trying to figure this out.
-- 
View this message in context: http://www.nabble.com/OSC-server-error-10014-in-path--foo-bar%3A-unknown-error-tf4160933.html#a11839066
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-07-29 18:06
From"mr.proxxxy"
SubjectRe: OSC server error 10014 in path /foo/bar: unknown error
I do believe that this may be an issue with my network settings, as fiddling
with other osc applications result in a similar (though not nearly as
descriptive/befuddling) error message. I'll report back to the list with my
results.


-- 
View this message in context: http://www.nabble.com/OSC-server-error-10014-in-path--foo-bar%3A-unknown-error-tf4160933.html#a11853118
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-07-29 21:41
From"mr.proxxxy"
SubjectRe: OSC server error 10014 in path /foo/bar: unknown error
still no luck and I managed to get it working in other programs.

Does anyone have any idea what this error message means? I'm thinking it's
that udp error, but I hope I'm not off base.  Anyone with access to the
code? 



mr.proxxxy wrote:
> 
> I do believe that this may be an issue with my network settings, as
> fiddling with other osc applications result in a similar (though not
> nearly as descriptive/befuddling) error message. I'll report back to the
> list with my results.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/OSC-server-error-10014-in-path--foo-bar%3A-unknown-error-tf4160933.html#a11854940
Sent from the Csound - General mailing list archive at Nabble.com.

Date2007-07-29 22:16
From"mr.proxxxy"
SubjectRe: OSC server error 10014 in path /foo/bar: unknown error
figured out the issue here.
it looks like there is a problem with the firewall settings in XP. If you
don't have Service Pack 2 installed (which I didn't), it appears that no
combination of opening/pulling down the firewall will allow the packets
through correctly. 

I installed service pack 2 and it allowed me to open exceptions for csound -
all packets went without a hitch and now I have my perl scripts
communicating with Csound.

YAY! :drunk:


mr.proxxxy wrote:
> 
> still no luck and I managed to get it working in other programs.
> 
> Does anyone have any idea what this error message means? I'm thinking it's
> that udp error, but I hope I'm not off base.  Anyone with access to the
> code? 
> 
> 
> 
> mr.proxxxy wrote:
>> 
>> I do believe that this may be an issue with my network settings, as
>> fiddling with other osc applications result in a similar (though not
>> nearly as descriptive/befuddling) error message. I'll report back to the
>> list with my results.
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/OSC-server-error-10014-in-path--foo-bar%3A-unknown-error-tf4160933.html#a11855140
Sent from the Csound - General mailing list archive at Nabble.com.