Split code into Client and Server parts.
Closed this issue · 10 comments
@oeuillot Mind taking a look at this?
Does this address your issues?
Hello,
My main problem is :
process.on('exit', self.stop.bind(this))
I suggest you to put this code outside, in the samples, not in the library.
Regards,
Yeah, I forgot to remove it. It's gone now.
Cool ..
You can add a comment in the sample to add a process.on('exit').
Thanks, alert-me when you have a release version !
(I need to use the client side of your library for an other project, perhaps I will come back ;-P )
Updated. If you have time - try using the code from feature branch in your project. I'll merge and release the updated version soon.
Ok,
I test it now !
It works ! (I try VLC)
I have renamed the method call ssdp.serve() to ssdp.start().
I will test tonight with a real upnp client, but I think it's OK.
Fixed in v1.0.0.