UDP Library - IP problem

edited February 2014 in Library Questions

Hi everybody,

I'm actually using the UDP lib to write a library about Artnet protocol, and I need to know the IP address to send it in a packet, but no function in the UDP lib return the IP address and if I create the UDP object with a custom IP (not the same of the computer), by this line:

udp = new UDP( this, 6465, "2.0.0.40");

processing return this error:

opening socket failed!

address:2.0.0.40, port:6454 [group:null]

Can't assign requested address

Do you know a way to help me?

Thanks a lot in advance!

Jérémy

Tagged:

Answers

Sign In or Register to comment.